mirror of
https://repo.or.cz/socat.git
synced 2025-07-11 22:23:24 +00:00
Corrected regression of ignoreeof
This commit is contained in:
parent
9968ca4c5b
commit
fa67d7d380
3 changed files with 71 additions and 23 deletions
2
socat.c
2
socat.c
|
@ -1013,7 +1013,7 @@ int _socat(void) {
|
|||
/* for ignoreeof */
|
||||
if (polling) {
|
||||
if (!wasaction) {
|
||||
if (socat_opts.total_timeout.tv_usec <= 1000000) {
|
||||
if (socat_opts.total_timeout.tv_usec < 1000000) {
|
||||
if (total_timeout.tv_usec < socat_opts.pollintv.tv_usec) {
|
||||
total_timeout.tv_usec += 1000000;
|
||||
total_timeout.tv_sec -= 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue