Browse Source

debug wsd bridge

stanley-king 4 years ago
parent
commit
e0adead32d
1 changed files with 2 additions and 0 deletions
  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);