Skip Menu |

This queue is for tickets about the LWP-Protocol-AnyEvent-http CPAN distribution.

Report information
The Basics
Id: 87826
Status: resolved
Priority: 0/
Queue: LWP-Protocol-AnyEvent-http

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: v1.14.0



Subject: socks proxy support
Socks proxies require a different syntax when used with AnyEvent::HTTP. The normal proxy syntax requires the request parameters: (proxy => [$ip, $port]), but with socks proxies, you have to use AnyEvent::HTTP::Socks and use these parameters instead: (socks => "$type://$ip:$port"), where $type is one of qw(socks socks4).
Subject: Re: [rt.cpan.org #87826] socks proxy support
Date: Tue, 13 Aug 2013 22:23:53 -0400
To: bug-LWP-Protocol-AnyEvent-http [...] rt.cpan.org
From: Eric Brine <ikegami [...] adaelis.com>
I'm away the next two weekends, and I'll be busy most nights of the next two weeks as a result. If you'd like me to release a fix within that time frame, I'll need a patch (posted here or provided via a pull request on github). If not, I'll work on it after that. Poke me if you don't here from me then. Note that I have no way of testing this, so a patch would be nice, but not necessary. - Eric On Tue, Aug 13, 2013 at 2:12 PM, pagenyon via RT < bug-LWP-Protocol-AnyEvent-http@rt.cpan.org> wrote: Show quoted text
> Tue Aug 13 14:12:11 2013: Request 87826 was acted upon. > Transaction: Ticket created by pagenyon > Queue: LWP-Protocol-AnyEvent-http > Subject: socks proxy support > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: pagenyon@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=87826 > > > > Socks proxies require a different syntax when used with AnyEvent::HTTP. > The normal proxy syntax requires the request parameters: (proxy => [$ip, > $port]), but with socks proxies, you have to use AnyEvent::HTTP::Socks and > use these parameters instead: (socks => "$type://$ip:$port"), where $type > is one of qw(socks socks4). >
On Tue Aug 13 14:12:11 2013, pagenyon wrote: Show quoted text
> Socks proxies require a different syntax when used with > AnyEvent::HTTP. The normal proxy syntax requires the request > parameters: (proxy => [$ip, $port]), but with socks proxies, you have > to use AnyEvent::HTTP::Socks and use these parameters instead: (socks > => "$type://$ip:$port"), where $type is one of qw(socks socks4).
SOCKS supported added in v1.14 (which should appear in your favourite CPAN mirror within 24 hours). Completely untested.