diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2022-05-26 20:11:43 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2022-05-26 20:11:43 +0100 |
commit | 315206fbf2d75c73de73deab89443ab645d96525 (patch) | |
tree | 7b2b7b2ea7a044f82719b883dee2269a9813d399 /test/scripts/0000-Basic | |
parent | 462e2cd30639a1b0e9c7d9d08d70e124a147531b (diff) |
CHUNKING: handle protocol errors during reception
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r-- | test/scripts/0000-Basic/0900 | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/test/scripts/0000-Basic/0900 b/test/scripts/0000-Basic/0900 index a8d2b0539..4edc82952 100644 --- a/test/scripts/0000-Basic/0900 +++ b/test/scripts/0000-Basic/0900 @@ -260,7 +260,7 @@ quit ??? 221 **** # -# Two rejected messages, pipielined, REST between +# Two rejected messages, pipielined, RSET between client 127.0.0.1 PORT_D ??? 220 EHLO tester @@ -296,6 +296,31 @@ quit ??? 221 **** # +# Two messages, pipielined, 1st abandoned midway, RSET between +client 127.0.0.1 PORT_D +??? 220 +EHLO tester +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250-CHUNKING +??? 250 HELP +MAIL FROM:<some5ne@some.domain>\r\nRCPT TO:<CALLER@test.ex>\r\nBDAT 86\r\nTo: Susan@random.com\r\nFrom: Sa5@random.com\r\nSubject: This is a bodyless test message\r\nRSET +??? 250 OK +??? 250 Accepted +??? 250 86 byte chunk received +??? 250 Reset OK +MAIL FROM:<some6ne@some.domain>\r\nRCPT TO:<CALLER@test.ex>\r\nBDAT 86\r\nTo: Susan@random.com\r\nFrom: Sa6@random.com\r\nSubject: This is a bodyless test message\r\nBDAT 6 LAST\r\nZZ\r\n +??? 250 OK +??? 250 Accepted +??? 250 86 byte chunk received +??? 250- 6 byte chunk, total 93 +??? 250 OK +QUIT +??? 221 +**** +# # # plain, small message (no body) # header line with bad line-ending |