Do you have some sample code/URL that I can use to reproduce
this problem?  

--Josh

Stephen More wrote:
> 
> Simple GETs and POSTs work fine.
> 
> I think I figured out how to re-create the bug (not really a bug,
> Crypt::SSLeay just needs better error handling):
> 
> 1. I did a https POST to the server
> 2. The server responded with a redirect
> 3. Not knowing any better I tried to re-POST to the redirected page.
> 
> Crypt::SSLeay dies with no error message.
> 
> I removed Crypt::SSLeay and Installed IO::Socket::SSL.
> 
> IO::Socket::SSL dies with this error:
>         Connection reset by peer at Protocol/http.pm line 265.
>         500 (Internal Server Error) Connection reset by peer
>         Client-Date: Tue, 16 Jan 2001 13:47:41 GMT
> 
> I later change my code to do a GET on the redirected page and everything
> works fine for both modules.
> 
> -Stephen More
> 
> At 06:06 PM 1/15/01 -0800, Joshua Chamas wrote:
> >What does ./net_ssl_test -d GET host.name.com 443
> >doe for you?  Can you give me the hostname so I can
> >test it myself?
> >
> >--Josh
> >
> >Stephen More wrote:
> >>
> >> When using Crypt::SSLeay and LWP::UserAgent I have come across a bug...
> >>
> >> LWP/UserAgent.pm
> >> eval {
> >>         $response = $protocol->request( $request, $proxy, $arg, $size,
> $timeout );
> >>         };
> >>
> >> After this eval, $response is uninitized, and $@ contains no error message.
> >>
> >> I traced this to:
> >> Protocol/http.pm
> >>
> >>         warn "A";
> >>         my $n = $socket->sysread( $buf, $size );                ##
> Net::SSL->sysread( )
> >>         warn "B";
> >>
> >> The second warning "B" never shows up.
> >>
> >> I traced this to:
> >> Net/SSL.pm
> >>
> >>         warn "1";
> >>         my $n=*$self->{'ssl_ssl'}->read(@_);
> >>         warn "2";
> >>
> >> The second warning "2" never shows up.
> >>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to