1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-25 19:52:58 +00:00

Options so-rcvtimeo and so-sndtimeo do not work with poll()

This commit is contained in:
Gerhard Rieger 2017-01-08 11:12:57 +01:00
parent 40f6fa29e1
commit 9f41543aad
6 changed files with 4 additions and 30 deletions

View file

@ -512,12 +512,6 @@ filloptionvalues() {
*,linger,*) OPTS=$(echo "$OPTS" |sed "s/,linger,/,linger=2,/g");;
esac
case "$OPTS" in
*,rcvtimeo,*) OPTS=$(echo "$OPTS" |sed "s/,rcvtimeo,/,rcvtimeo=1,/g");;
esac
case "$OPTS" in
*,sndtimeo,*) OPTS=$(echo "$OPTS" |sed "s/,sndtimeo,/,sndtimeo=1,/g");;
esac
case "$OPTS" in
*,connect-timeout,*) OPTS=$(echo "$OPTS" |sed "s/,connect-timeout,/,connect-timeout=1,/g");;
esac
# IP