Parcourir la source

debug wsd bridge

stanley-king il y a 4 ans
Parent
commit
e0adead32d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      wsd_bridge.php

+ 2 - 0
wsd_bridge.php

@@ -47,6 +47,8 @@ class WSDBridge
                     if (!empty($body)) {
                         Log::record("req:{$body}", Log::DEBUG);
                         $resp = $this->relay_request($body);
+                        Log::record("resp={$resp}",Log::ERR);
+                        
                         $resp = mb_convert_encoding($resp, 'GBK', 'UTF-8');
                         socket_write($client, $resp);
                         Log::record("resp:{$resp}", Log::DEBUG);