Re: Bug in POP3 code



On 2001.10.05 16:54:38 +0200 Emmanuel wrote:
>     if(status != POP_CONN_ERR) {
> 	DM("POP3 C: quit");
> 	/* exit gracefully */
> Bug---->write (s, "quit\r\n", 6);
> 	getLine (s, buffer, sizeof (buffer)); /* snarf the response */
> 	if(status == POP_OK)
> 	    strcpy(last_uid, uid);/* FIXME: overflow error on hideous

now that i reviewed this part closer .... theres another issue happened
when using pthreads support and connecting to the mailbox it often happens
that whenever balsa tries to access the pop3 server of my isp it just
corrupts something. when i try to telnet <myisppop3> 110 i can enter my
name and my password then i get 'maildrop blah... deny' and i need to wait
for some mins to be able to access it again.

now after i add 1+1 here this comes really close to be the solution of the
problem... e.g. getting that quit message, then balsa either freezes or
quits...

i never thought that this may be because of this since without thread the
pop3 function SEEMS to operate correctly... now i have compiled your patch
into balsa lemme try this one for several hours now i go and report back
to you and hopefully this will be the solution now that i failed 2 times.

-- 
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]