Re: AW: [PEAR-DEV] Net_SMTP - deadlock / robustness

From: Date: Thu, 30 Dec 2004 08:15:53 +0000
Subject: Re: AW: [PEAR-DEV] Net_SMTP - deadlock / robustness
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-35270@lists.php.net to get a copy of this message
On Mon, Dec 27, 2004 at 12:27:22PM -0500, Chuck Hagenbuch wrote: > Okay, please test this change: > > > http://cvs.php.net/diff.php/pear/Net_SMTP/SMTP.php?r1=1.50&r2=1.51&ty=u Now it does not accept the wrong address of a recipient. I think it should not send anything to the server without any valid recipient. This is a snippet of conversation between client and server: (...) send(3, 0x00430020, 32, 0) = 32 M A I L F R O M : < s o m e @ e m a i l . a d d r e s s >\r\n time() = 1104394205 poll(0xFFBEB868, 1, 60000) = 1 recv(3, " 2 5 0 O k\r\n", 8192, 0) = 8 send(3, " D A T A\r\n", 6, 0) = 6 time() = 1104394205 poll(0xFFBEB3C8, 1, 60000) = 1 recv(3, 0x003FBCC0, 8192, 0) = 32 5 5 4 E r r o r : n o v a l i d r e c i p i e n t s\r\n send(3, " R S E T\r\n", 6, 0) = 6 time() = 1104394206 poll(0xFFBEB8C8, 1, 60000) = 1 recv(3, " 2 5 0 O k\r\n", 8192, 0) = 8 send(3, " Q U I T\r\n", 6, 0) = 6 time() = 1104394206 poll(0xFFBEB728, 1, 60000) = 1 recv(3, " 2 2 1 B y e\r\n", 8192, 0) = 9 -- Piotr Klaban

« previous php.pear.dev (#35270) next »