Commit fca34e5e authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #1253 from minrk/linger-timeout

use more conservative 30 second default timeout for LINGER
parents ed4f3426 35dd85a1
...@@ -323,7 +323,7 @@ following outlines the different behaviours: ...@@ -323,7 +323,7 @@ following outlines the different behaviours:
[horizontal] [horizontal]
Option value type:: int Option value type:: int
Option value unit:: milliseconds Option value unit:: milliseconds
Default value:: 2000 (two seconds) Default value:: 30000 (thirty seconds)
Applicable socket types:: all Applicable socket types:: all
......
...@@ -35,7 +35,7 @@ zmq::options_t::options_t () : ...@@ -35,7 +35,7 @@ zmq::options_t::options_t () :
rcvbuf (0), rcvbuf (0),
tos (0), tos (0),
type (-1), type (-1),
linger (2000), linger (30000),
reconnect_ivl (100), reconnect_ivl (100),
reconnect_ivl_max (0), reconnect_ivl_max (0),
backlog (100), backlog (100),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment