Explorar o código

UdpConnection->protocol

walkor %!s(int64=9) %!d(string=hai) anos
pai
achega
bb15c42217
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Worker.php

+ 1 - 0
Worker.php

@@ -1530,6 +1530,7 @@ class Worker
         }
         // 模拟一个连接对象
         $connection = new UdpConnection($socket, $remote_address);
+        $connection->protocol = $this->protocol;
         if($this->onMessage)
         {
             if($this->protocol)