Browse Source

Don't start receiving data till we are accepting connections in the connector

master
Con Kolivas 11 years ago
parent
commit
1b3a972df2
  1. 2
      src/connector.c

2
src/connector.c

@ -244,6 +244,8 @@ void *receiver(void *arg)
retry:
nfds = 0;
while (!ci->accept)
sleep(1);
ck_rlock(&ci->lock);
HASH_ITER(fdhh, fdclients, client, tmp) {

Loading…
Cancel
Save