walkor 10 anni fa
parent
commit
15b0ee03cd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -184,7 +184,7 @@ $worker = new Worker('tcp://0.0.0.0:1234');
 $worker->count=3;
 $worker->onMessage = function($connection, $data)
 {
-    $connection->send("HTTP/1.1 200 OK\r\nConnection: keep-alive\r\nServer: workerman\1.1.4\r\nhello");
+    $connection->send("HTTP/1.1 200 OK\r\nConnection: keep-alive\r\nServer: workerman\1.1.4\r\n\r\nhello");
 };
 Worker::runAll();
 ```