]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH 03/14] imap: Stream ENVELOPE to client without ostream memory duplication
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 17 Apr 2026 14:55:34 +0000 (16:55 +0200)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commitcf0656349a5dd2e9c22349971a6e3fb2094eef2a
treef53b4cb1e97fae732cdf89405e32051803bdcf82
parentd0adf60476b521447ece50a5a7d3e95dee66e9f9
[PATCH 03/14] imap: Stream ENVELOPE to client without ostream memory duplication

Same fix as for BODYSTRUCTURE: avoid copying the envelope string into
the ostream ring buffer by using o_stream_set_max_buffer_size(0) +
o_stream_send_istream() with a continuation handler.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Gbp-Pq: Name 0003-imap-Stream-ENVELOPE-to-client-without-ostream-memor.patch
src/imap/imap-fetch.c