1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-06-27 18:18:42 +00:00

New option sitout-eio

This commit is contained in:
Gerhard Rieger 2023-10-26 18:43:40 +02:00
parent c2196d6f15
commit d10dd8a03e
9 changed files with 59 additions and 14 deletions

View file

@ -2823,6 +2823,12 @@ label(OPTION_PTY_INTERVAL)dit(bf(tt(pty-interval=<seconds>)))
periodically checks the HUP condition using tt(poll()) to find if the pty's
slave side has been opened. The default polling interval is 1s. Use the
pty-interval option [link(timeval)(TYPE_TIMEVAL)] to change this value.
label(OPTION_SITOUT_EIO)dit(bf(tt(sitout-eio=<timeval>)))
The login program in Linux closes its tty/pty and reopens it for security
reasons. During this time the pty master would get EIO on I/O operations and
might terminate. With this option socat() tolerates EIO for the specified
time. Please note that in this state socat() blocks traffic in both
directions, even when it is not related to this channel.
enddit()