From 58fc5fb2eec65bc0b1c7f5e571e3c534cf008b88 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 7 Aug 2016 15:14:59 +0100 Subject: CHUNKING: fix transmit with long headers When the buffer used for SMTP commands and message headers filled to flush point, protocol sequencing was wrong. --- test/stderr/0476 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/stderr/0476') diff --git a/test/stderr/0476 b/test/stderr/0476 index 29b9c3ebb..695557676 100644 --- a/test/stderr/0476 +++ b/test/stderr/0476 @@ -19,6 +19,7 @@ set_process_info: pppp delivering 10HmaX-0005vi-00 to 127.0.0.1 [127.0.0.1] (use Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP<< 220 Server ready SMTP>> EHLO the.local.host.name +cmd buf flush 18 bytes SMTP<< 250-server id 250-PIPELINING 250 OK @@ -27,6 +28,7 @@ not using DSN SMTP>> MAIL FROM: SMTP>> RCPT TO: SMTP>> DATA +cmd buf flush 65 bytes SMTP<< 250 OK SMTP<< 550 NO Remote host closed connection in response to pipelined DATA @@ -35,6 +37,7 @@ ok=1 send_quit=1 send_rset=1 continue_more=0 yield=0 first_address is NULL transport_check_waiting entered sequence=1 local_max=500 global_max=-1 SMTP>> RSET +cmd buf flush 6 bytes H=127.0.0.1 [127.0.0.1] Remote host closed connection in response to RSET SMTP(close)>> set_process_info: pppp delivering 10HmaX-0005vi-00: just tried 127.0.0.1 [127.0.0.1] for userx@test.ex: result OK -- cgit v1.2.3