From ebcec1c4637cb9f8b7f257aa968cf4fed6b737aa Mon Sep 17 00:00:00 2001 From: cheney Date: Sun, 24 May 2026 21:21:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=90=86=E6=9C=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy/proxy_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/proxy_server.py b/proxy/proxy_server.py index 1d9e916..e232a11 100644 --- a/proxy/proxy_server.py +++ b/proxy/proxy_server.py @@ -50,10 +50,10 @@ def handle_client(conn): try: b_device_socket.send(data) except: - conn.send(b"HTTP/1.1 503 Service Unavailable\r\n\r\nB设备未连接") + conn.send(b"HTTP/1.1 503 Service Unavailable\r\n\r\nDevice B not connected") break else: - conn.send(b"HTTP/1.1 503 Service Unavailable\r\n\r\nB设备未连接") + conn.send(b"HTTP/1.1 503 Service Unavailable\r\n\r\nDevice B not connected") break except Exception as e: print(f"用户连接出错: {e}")