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 216937e commit 58f86d6Copy full SHA for 58f86d6
src/tcp_server.h
@@ -60,6 +60,10 @@ class BridgeTCPServer final: public Server {
60
61
BridgeTCPClient<BufferSize> accept() {
62
63
+ if (!_listening) {
64
+ return BridgeTCPClient<BufferSize>(*bridge, 0, false);
65
+ }
66
+
67
if (_connected) {
68
return BridgeTCPClient<BufferSize>(*bridge, connection_id);
69
}
0 commit comments