From d3fb30d55de7032450a49b7d56726fdefbc15b5d Mon Sep 17 00:00:00 2001 From: Matej Sekoranja Date: Wed, 7 Jan 2015 13:48:44 +0100 Subject: [PATCH] removed annoying warning when client disconnects while server is processing a send message --- src/remote/codec.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/remote/codec.cpp b/src/remote/codec.cpp index cce2b3a..2edcd6c 100644 --- a/src/remote/codec.cpp +++ b/src/remote/codec.cpp @@ -915,6 +915,9 @@ namespace epics { // automatic end (to set payload size) endMessage(false); } + catch (connection_closed_exception & ) { + throw; + } catch (std::exception &e ) { std::ostringstream msg;