diff options
Diffstat (limited to 'src/xrespondent.cpp')
-rw-r--r-- | src/xrespondent.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xrespondent.cpp b/src/xrespondent.cpp index 026fe8d..c16d900 100644 --- a/src/xrespondent.cpp +++ b/src/xrespondent.cpp @@ -36,6 +36,10 @@ xs::xrespondent_t::xrespondent_t (class ctx_t *parent_, uint32_t tid_, { options.type = XS_XRESPONDENT; + // If the connection disappears it makes no sense to read any more surveys + // from it. The responses will be unroutable anyway. + options.delay_on_disconnect = false; + prefetched_msg.init (); } |