Tk Library Source Code

View Ticket
Login
Ticket UUID: 1743868
Title: Fix extra line between message headers
Type: Patch Version: None
Submitter: howell Created on: 2007-06-26 21:17:47
Subsystem: pop3d Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2013-07-04 17:25:38
Resolution: Not Applicable Here Closed By:
    Closed on:
Description:
pop3d sends messages with a blank line between each header line. This causes Multipart Mime messages not to be recognized. In particular pop3 client fails to recognized a multipart message sent by pop3d.

The error is caused by both the pop3d package and the mime package handling the network crlf standard. mime appends \r to all headers for mime::buildmessage and mime::copymessage. pop3d fconfigures the socket channel to crlf.

This diff mods pop3d to follow the mime package convention; leaving the channel as translation lf and adding \r to strings where required.

It has been tested for message sizes that can be sent as one segment.  The test suite was not run.
User Comments: howell added on 2007-06-27 04:17:47:

File Added - 234664: pop3d.tcl.diff

Attachments: