Skip Menu |

This queue is for tickets about the POE-Component-Client-HTTP CPAN distribution.

Report information
The Basics
Id: 27942
Status: stalled
Priority: 0/
Queue: POE-Component-Client-HTTP

People
Owner: Nobody in particular
Requestors: colossus.forbin [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Support CONNECT method for proxying
please add support for the CONNECT method. LWP::Protocol::http does have support for this as displayed in this snippet: if (defined $proxy) { # $proxy is an URL to an HTTP server which will proxy this request $host = $proxy->host; $port = $proxy->port; $fullpath = $method eq "CONNECT" ? ($url->host . ":" . $url->port) : $url->as_string; } basically, it's just using host:port instead of the entire url, like so: CONNECT 1.2.3.4:8080 HTTP/1.0 and then stashes the socket so data can be sent directly to it
Work on this has begun at https://github.com/mnunberg/poe-component-client-http/ Considering keep-alive issues, this is significantly harder than you've described. You can follow development at the above github URL, or by joining us in irc.perl.org #poe. Thanks!
Work on this seems to have stopped, sorry.