Explorar o código

Update README.md

walkor %!s(int64=9) %!d(string=hai) anos
pai
achega
5e0f4f4fca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      README.md

+ 1 - 1
README.md

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