Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: LWP issuing two CONNECT requests when only one is asked for?

by mickey (Acolyte)
on Apr 04, 2005 at 18:56 UTC ( #444764=note: print w/ replies, xml ) Need Help??


in reply to Re: LWP issuing two CONNECT requests when only one is asked for?
in thread LWP issuing two CONNECT requests when only one is asked for?

I see what you're getting at, but I don't understand why the second CONNECT request is asking for the proxy server rather than the remote server.

Is that part of the protocol?


Comment on Re^2: LWP issuing two CONNECT requests when only one is asked for?
Re^3: LWP issuing two CONNECT requests when only one is asked for?
by mickey (Acolyte) on Apr 04, 2005 at 19:24 UTC

    Just confirmed my own theory, i.e. that the second CONNECT isn't part of the protocol and isn't sent by other HTTPS clients. Requesting the same HTTPS server with Internet Explorer and watching the HTTP traffic with Etherial I only see one CONNECT, the first one to the specified remote server.

    So it does seem like one of the underlying modules that LWP::UserAgent uses to connect to HTTPS websites is doing something out of the ordinary.

    I'll try cutting LWP::UserAgent out of the loop and gradually getting more low-level until I find the point it's going wrong, but if anyone has any suggestions as to where I might start looking that would be great!

      Don't forget LWP::Debug

        I couldn't have forgotten it -- I didn't know about it! Thank you.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://444764]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2014-12-28 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls