We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84679e0 commit 3f251efCopy full SHA for 3f251ef
esp8266/modules/webrepl.py
@@ -31,6 +31,10 @@ def setup_conn(port, accept_handler):
31
def accept_conn(listen_sock):
32
global client_s
33
cl, remote_addr = listen_sock.accept()
34
+ if uos.dupterm():
35
+ print("\nConcurrent WebREPL connection from", remote_addr, "rejected")
36
+ cl.close()
37
+ return
38
print("\nWebREPL connection from:", remote_addr)
39
client_s = cl
40
websocket_helper.server_handshake(cl)
0 commit comments