代理有问题
This commit is contained in:
parent
910084a86f
commit
ebcec1c463
@ -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}")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user