* BOSH and Stream Handling Fixes

git-svn-id: svn://netflint.net/xmpphp@57 ef36c318-a008-4979-b6e8-6b496270793b
This commit is contained in:
fritzy
2008-09-21 21:30:00 +00:00
parent f1b4f5b175
commit 02a3f3dc5d
3 changed files with 18 additions and 13 deletions

View File

@@ -374,7 +374,7 @@ class XMPPHP_XMLStream {
end($this->until);
$event_key = key($this->until);
reset($this->until);
$until_count[$event_key] = 0;
$this->until_count[$event_key] = 0;
$updated = '';
while(!$this->disconnected and $this->until_count[$event_key] < 1 and (time() - $start < $timeout or $timeout == -1)) {
$this->__process();