mirror of
https://github.com/curl/curl.git
synced 2026-06-05 13:34:15 +03:00
smtp: Fixed sending of double CRLF caused by first in EOB
If the mail sent during the transfer contains a terminating <CRLF> then we should not send the first <CRLF> of the EOB as specified in RFC-5321. Additionally don't send the <CRLF> if there is "no mail data" as the DATA command already includes it.
This commit is contained in:
parent
087f9bb20a
commit
99b4045183
14 changed files with 29 additions and 25 deletions
|
|
@ -58,7 +58,6 @@ From: different
|
|||
To: another
|
||||
|
||||
body
|
||||
|
||||
.
|
||||
</upload>
|
||||
<proxy>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ From: different
|
|||
To: another
|
||||
|
||||
body
|
||||
|
||||
.
|
||||
</upload>
|
||||
<file name="log/test1406.c" mode="text">
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@ From: different
|
|||
To: another
|
||||
|
||||
body
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ To: another
|
|||
..
|
||||
|
||||
body
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ From: different
|
|||
To: another
|
||||
|
||||
body
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ QUIT
|
|||
</protocol>
|
||||
<upload>
|
||||
mail body
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ QUIT
|
|||
</protocol>
|
||||
<upload>
|
||||
mail body
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ QUIT
|
|||
</protocol>
|
||||
<upload>
|
||||
mail body
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ From: different
|
|||
To: another
|
||||
|
||||
body
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ QUIT
|
|||
</protocol>
|
||||
<upload>
|
||||
mail body
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ QUIT
|
|||
</protocol>
|
||||
<upload>
|
||||
mail body
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ From: different
|
|||
To: another
|
||||
|
||||
body
|
||||
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue