Skip to content

Commit

Permalink
doc/protocols/tcp: fix units of listen_timeout option value, from mic…
Browse files Browse the repository at this point in the history
…roseconds to milliseconds

s->listen_timeout is passed to ff_listen_bind(), which accepts a timeout
value expressed in milliseconds.

The unit was incorrectly set in 1b4da43.
  • Loading branch information
saste committed Mar 5, 2015
1 parent 2af260e commit 6db2092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/protocols.texi
Original file line number Diff line number Diff line change
Expand Up @@ -1081,8 +1081,8 @@ Set raise error timeout, expressed in microseconds.
This option is only relevant in read mode: if no data arrived in more
than this time interval, raise error.

@item listen_timeout=@var{microseconds}
Set listen timeout, expressed in microseconds.
@item listen_timeout=@var{milliseconds}
Set listen timeout, expressed in milliseconds.
@end table

The following example shows how to setup a listening TCP connection
Expand Down

0 comments on commit 6db2092

Please sign in to comment.