mirror of
https://repo.or.cz/socat.git
synced 2024-12-23 07:52:32 +00:00
UDP-LISTEN need not sleep
This commit is contained in:
parent
6e790adc5b
commit
5a5f1ed1bc
2 changed files with 3 additions and 1 deletions
3
CHANGES
3
CHANGES
|
@ -80,6 +80,9 @@ corrections:
|
||||||
Fixed by providing temporary DH parameters. Thanks to Philip Rowlands
|
Fixed by providing temporary DH parameters. Thanks to Philip Rowlands
|
||||||
for drawing my attention to this issue.
|
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.
|
docu mentions option so-bindtodev but correct name is so-bindtodevice.
|
||||||
Thanks to Jim Zimmerman for reporting.
|
Thanks to Jim Zimmerman for reporting.
|
||||||
|
|
||||||
|
|
|
@ -275,7 +275,6 @@ int xioopen_ipdgram_listen(int argc, const char *argv[], struct opt *opts,
|
||||||
if (Close(fd->stream.rfd) < 0) {
|
if (Close(fd->stream.rfd) < 0) {
|
||||||
Info2("close(%d): %s", fd->stream.rfd, strerror(errno));
|
Info2("close(%d): %s", fd->stream.rfd, strerror(errno));
|
||||||
}
|
}
|
||||||
Sleep(1); /*! give child a chance to consume the old packet */
|
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue