You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by wa...@apache.org on 2019/12/11 14:39:37 UTC

[dubbo-php-framework] 23/31: update

This is an automated email from the ASF dual-hosted git repository.

wangxin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-php-framework.git

commit d8e174b75b897ba211856cbe172acab8f8c8756f
Author: wangjinxi <wa...@che001.com>
AuthorDate: Tue Jul 16 13:37:23 2019 +0800

    update
---
 composer.json                   | 3 ++-
 consumer/fsof/FSOFProcessor.php | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/composer.json b/composer.json
index ef301f0..dff3f4e 100644
--- a/composer.json
+++ b/composer.json
@@ -1,5 +1,6 @@
 {
     "require": {
-        "apache/log4php": "^2.3"
+        "apache/log4php": "^2.3",
+        "crazyxman/hessian-parser": "dev-master"
     }
 }
diff --git a/consumer/fsof/FSOFProcessor.php b/consumer/fsof/FSOFProcessor.php
index 6555542..e3ec2f2 100644
--- a/consumer/fsof/FSOFProcessor.php
+++ b/consumer/fsof/FSOFProcessor.php
@@ -320,7 +320,7 @@ class FSOFProcessor
                 }
                 $_data .= $tmp_data;
                 $resv_len -= strlen($tmp_data);
-            } while (($resv_len > 0) && ( (microtime(true) - $start_time) > $this->iotimeout)); //读取数据不能超过设置的io时长
+            } while (($resv_len > 0) && ( (microtime(true) - $start_time) < $this->iotimeout)); //读取数据不能超过设置的io时长
 
             if ($resv_len > 0)
             {