Sfoglia il codice sorgente

close with code 1000

#473 #468
walkor 6 anni fa
parent
commit
dab3e3f141
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.