[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mailutils/pop3d extra.c pop3d.c pop3d.h quit.c
From: |
Alain Magloire |
Subject: |
mailutils/pop3d extra.c pop3d.c pop3d.h quit.c |
Date: |
Thu, 01 Feb 2001 20:00:10 -0800 |
CVSROOT: /home/cvs
Module name: mailutils
Changes by: Alain Magloire <address@hidden> 01/02/01 20:00:10
Modified files:
pop3d : extra.c pop3d.c pop3d.h quit.c
Log message:
* pop3d/extra.c (pop3_readline) : Since the length of the string
is known, we can use memcpy() and friends for string manipulations.
memXXX() functions are builtin in GNU C (gcc) and are much faster
then the strXXX() counterparts. Small change in the loop to take
advantage of this.
* pop3d/quit.c : The rfc1939 insist that after a QUIT, we must
release any resources and close the connection:
"Whether the removal was successful or not, the server
then releases any exclusive-access lock on the maildrop
and closes the TCP connection." This was not done if error
occured while expunging, no we will close the connection and
notify the client of the error(ERR_FILE).
CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/mailutils/pop3d/extra.c.diff?r1=1.9&r2=1.10
http://subversions.gnu.org/cgi-bin/cvsweb/mailutils/pop3d/pop3d.c.diff?r1=1.20&r2=1.21
http://subversions.gnu.org/cgi-bin/cvsweb/mailutils/pop3d/pop3d.h.diff?r1=1.12&r2=1.13
http://subversions.gnu.org/cgi-bin/cvsweb/mailutils/pop3d/quit.c.diff?r1=1.5&r2=1.6
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mailutils/pop3d extra.c pop3d.c pop3d.h quit.c,
Alain Magloire <=