X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fspush%2Fbrisk-spush.phh;h=0f22baaa1d6c63c5b93eb9e5aac5c330740040d0;hb=48f50311b96f41a3cd22f2832a225ccd1cd2131a;hp=6c4b5e3b5f813e2bd0ec5b637a4a0a2574dd3e09;hpb=ef2da0157f1a97800360df93b89d3c234d3e04c5;p=brisk.git diff --git a/web/spush/brisk-spush.phh b/web/spush/brisk-spush.phh index 6c4b5e3..0f22baa 100644 --- a/web/spush/brisk-spush.phh +++ b/web/spush/brisk-spush.phh @@ -160,11 +160,11 @@ class PendingPage { if ($this->kalive < $curtime) { printf("TRY FLUSH CLOSE 1\n"); - fclose($this->socket); + @fclose($this->socket); return TRUE; } - $wret = fwrite($this->socket, $this->msg, mb_strlen($this->msg, "ASCII")); + $wret = @fwrite($this->socket, $this->msg, mb_strlen($this->msg, "ASCII")); if ($wret == FALSE && $wret !== FALSE) { printf("TRY FLUSH PendingPage::try_flush: wret 0 but not FALSE [%d]\n", mb_strlen($this->msg, "ASCII")); }