Re: pr77 - Abnormal Yahoo Mail behavior (03)

"David Aspinwall" <[email protected]> Thu, 24 May 2007 09:55:43 -0700
Newsgroups gmane.mail.yosucker.general
Message-ID <[email protected]>
> YoSucker: Abnormal Yahoo Mail behavior (01)! Exiting - please retry...

I was having a similar problem for a while and found a fix.
There's this line in sputnik.pm:
       sysread( $handle, my $byte, 50 );

The problem is that the proxy server I'm using sends back 80 characters,
something like:
 HTTP/1.0 200 Connection established
 Proxy-Agent: NetCache NetApp/5.6.2R1D19

So the call to socket_to_SSL (which the doc for IO::Socket::SSL
says is deprecated by the way) reads the leftover stuff and fails.

Just changing the 50 to something bigger (> 80) makes things
start working.  But that might not apply if you're not using a proxy
server with SSL.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/