]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: ostream-wrapper - Allow parent output being closed in wrapper_ostream_continue().
authorStephan Bosch <stephan.bosch@open-xchange.com>
Thu, 23 Apr 2020 13:16:03 +0000 (15:16 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 27 Apr 2020 17:27:34 +0000 (17:27 +0000)
This happens when wrapper_ostream_output_destroyed() is called while waiting in
flush wait loop.

src/lib/ostream-wrapper.c

index 2a3b78f9633c815f557232a3a18e8f2ff033214a..5ba6e2ea93dce950e37244b6cb46f8aca28781ce 100644 (file)
@@ -1081,7 +1081,6 @@ void wrapper_ostream_continue(struct wrapper_ostream *wostream)
 
        if (wostream->flush_waiting) {
                /* Inside wrapper_ostream_flush_wait() */
-               i_assert(!wostream->output_closed);
                ioloop = wostream->flush_ioloop;
        }
        if (stream->ostream.closed ||