Tk Library Source Code

View Ticket
Login
Ticket UUID: 473656
Title: pop3::retrieve blocking forever
Type: Bug Version: None
Submitter: edesio Created on: 2001-10-22 13:13:23
Subsystem: pop3 Assigned To: nobody
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2013-07-04 17:25:37
Resolution: Not Applicable Here Closed By: andreas_kupries
    Closed on: 2001-11-01 16:50:38
Description:
Hi folks!

I tried to use pop3::retrive and found a problem. It
blocks while reading
the message. I examined the code and found that it
blocks on line 

set msgBuffer [read $chan $size]

I made a few tests and found that the message size if
always less than
$size. This was tested with qpopper v2.43, qpopper
v4.0.3, cucipop v1.31.

Another problem is handling "^\.". When a line begins
with a dot (.) it is
prefixed with a (.). It is client responsability to
remove this extra (.)
before exibiting the message.

The patch below (seems to) fix both problems.

I apologize for my poor english.

Thanks in advance,

Edesio
[email protected]
User Comments: edesio added on 2001-11-02 00:20:41:
Logged In: YES 
user_id=147018

Where can I download tcllib 1.1? I couldn't find it in
sourceforge nor in activestate.

andreas_kupries added on 2001-11-01 23:50:38:
Logged In: YES 
user_id=75003

Yep. 1.2 is old. The current version is pop 1.5
in tcllib 1.1. Please check if this version exhibits
the same error.

edesio added on 2001-11-01 00:53:00:
Logged In: YES 
user_id=147018

I just checked:

duron:~/src/xfermail:306> tclsh
% package require pop3
1.2
% 

This looks like the old bug you referenced.

edesio added on 2001-10-22 20:13:24:

File Added - 12317: pop3.diff

Attachments: