UDP-LISTEN need not sleep

This commit is contained in:
Gerhard Rieger 2012-07-22 17:58:38 +02:00
parent 6e790adc5b
commit 5a5f1ed1bc
2 changed files with 3 additions and 1 deletions

View file

@ -79,6 +79,9 @@ corrections:
OpenSSL server failed with "no shared cipher" when using cipher aNULL.
Fixed by providing temporary DH parameters. Thanks to Philip Rowlands
for drawing my attention to this issue.
UDP-LISTEN slept 1s after accepting a connection. This is not required.
Thanks to Peter Valdemar Morch for reporting this issue
docu mentions option so-bindtodev but correct name is so-bindtodevice.
Thanks to Jim Zimmerman for reporting.

View file

@ -275,7 +275,6 @@ int xioopen_ipdgram_listen(int argc, const char *argv[], struct opt *opts,
if (Close(fd->stream.rfd) < 0) {
Info2("close(%d): %s", fd->stream.rfd, strerror(errno));
}
Sleep(1); /*! give child a chance to consume the old packet */
continue;
}