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}")