]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-program-client: Flush/finish the output stream after o_stream_send_istream().
authorStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 22 Jan 2018 22:43:18 +0000 (23:43 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Fri, 26 Jan 2018 19:17:11 +0000 (20:17 +0100)
commit824ca2373b872449b6b6ce29707c02c0d810eb74
tree35001178919291f7990834321de3d76f1ebcc704
parent3e1b133686cac6670f6f93479525200772c5e233
lib-program-client: Flush/finish the output stream after o_stream_send_istream().

There may still be data in the output stream buffer. Failing to flush this
leads to truncated output. For the output towards the program o_stream_finish()
is used, since there may be an ostream_dot in between (or something else for
future features).
src/lib-program-client/program-client.c