update branch

This commit is contained in:
qwen.ai[bot]
2026-04-25 12:28:01 +00:00
parent 138a8ffb7a
commit 3ffc10be92
19 changed files with 147 additions and 60 deletions

View File

@@ -192,8 +192,9 @@ class TcpHttpServer:
return None
except ValueError:
return None
except Exception:
except Exception as e:
# 其他解析错误
import traceback; print(f"[http-tcp] HTTP 解析失败:{type(e).__name__}: {e}"); traceback.print_exc()
return None
def _format_response(self, response: dict) -> bytes: