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;