更新日志

This commit is contained in:
cheney
2026-05-26 18:05:05 +08:00
parent be710920e9
commit d11390e453
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ def handle_request(request_data):
if "\r\n\r\n" in modified_data:
body_size = len(modified_data) - modified_data.find("\r\n\r\n") - 4
log_info("System", "Request: %s %s - Body: %d bytes - ID: %s" % (method, path, body_size, request_id))
log_info("System", "Request: %s %s%s - Body: %d bytes - ID: %s" % (method, "http://" + TARGET_HOST + ":" + str(TARGET_PORT), path, body_size, request_id))
target_sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
target_sock.settimeout(30)