mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 08:23:48 +03:00
ecf60568b4
message.Writer.Write() adds missing \r's, but the buffer of "last bytes written" was only being updated while writing the message headers, not while writing the body. so for Write()'s in the body section (depending on buffering), we were compensating based on the "last bytes written" as set during the last write in the header section. that could cause a spurious \r to be added when a Write starts with \n while the previous Write did properly end with \r. for issue #117, thanks haraldrudell for reporting and investigating |
||
---|---|---|
.. | ||
authresults.go | ||
authresults_test.go | ||
compose.go | ||
decode.go | ||
decode_test.go | ||
doc.go | ||
examples_test.go | ||
from.go | ||
hdrcmtdomain.go | ||
headerwriter.go | ||
messageid.go | ||
messageid_test.go | ||
parseheaderfields.go | ||
parseheaderfields_test.go | ||
part.go | ||
part_test.go | ||
qp.go | ||
readheaders.go | ||
referencedids.go | ||
referencedids_test.go | ||
threadsubject.go | ||
threadsubject_test.go | ||
time.go | ||
todo.go | ||
writer.go | ||
writer_test.go |