CismonX 9 năm trước cách đây
mục cha
commit
dc45329d3a
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      Worker.php

+ 3 - 0
Worker.php

@@ -1553,6 +1553,9 @@ class Worker
             if ($this->protocol) {
                 $parser      = $this->protocol;
                 $recv_buffer = $parser::decode($recv_buffer, $connection);
+                // Discard bad packets.
+                if ($recv_buffer === false)
+                    return true;
             }
             ConnectionInterface::$statistics['total_request']++;
             try {