From c91bf25645b27fb903886093b27fa153c60be2fd Mon Sep 17 00:00:00 2001 From: Dhammika Pathirana Date: Thu, 20 Jan 2011 07:52:40 +0100 Subject: Fix handle connection reset during session init Patch to handle nmap version probes. Signed-off-by: Dhammika Pathirana --- src/zmq_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zmq_engine.cpp') diff --git a/src/zmq_engine.cpp b/src/zmq_engine.cpp index dde9c4b..c51b7ad 100644 --- a/src/zmq_engine.cpp +++ b/src/zmq_engine.cpp @@ -151,7 +151,7 @@ void zmq::zmq_engine_t::in_event () inout->flush (); } - if (disconnection) + if (inout && disconnection) error (); } -- cgit v1.2.3