Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

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


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

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!


Comment on Re^3: LWP issuing two CONNECT requests when only one is asked for?
Re^4: LWP issuing two CONNECT requests when only one is asked for?
by Anonymous Monk on Apr 05, 2005 at 07:39 UTC
    Don't forget LWP::Debug

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

        I am trying to ressurect an 8 year old thread! I am running into the same problem of 2 CONNECT requests using LWP UserAgent (one to the proxy and one to the actual site). What was the solution?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-10-25 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls