瀏覽代碼

close with code 1000

#473 #468
walkor 6 年之前
父節點
當前提交
dab3e3f141
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Protocols/Websocket.php

+ 1 - 1
Protocols/Websocket.php

@@ -102,7 +102,7 @@ class Websocket implements \Workerman\Protocols\ProtocolInterface
                         }
                     } // Close connection.
                     else {
-                        $connection->close("\x88\x02\x27\x10", true);
+                        $connection->close("\x88\x02\x03\xe8", true);
                     }
                     return 0;
                 // Ping package.