Problem: default LINGER value is insane

Solution: use a sane value, e.g. 2 seconds

Fixes #1247
This commit is contained in:
Pieter Hintjens
2014-11-06 15:30:04 +01:00
parent ea9f7acce3
commit 7781375adf
3 changed files with 3 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ zmq::options_t::options_t () :
rcvbuf (0),
tos (0),
type (-1),
linger (-1),
linger (2000),
reconnect_ivl (100),
reconnect_ivl_max (0),
backlog (100),