curl-library
Re: [PATCH] url: use proper default port for HTTP proxy
Date: Sun, 25 May 2014 18:30:00 +0200
On 25 May 2014 3:16 PM, "Alessandro Ghedini" <alessandro_at_ghedini.me> wrote:
>
> On dom, mag 25, 2014 at 11:17:25 +0000, Yehezkel Horowitz wrote:
> > >As reported at http://bugs.debian.org/749171, 1080 is the default port
for socks (as defined by IANA), but http proxies use 80 as default (which
is what e.g.
> > wget does).
> >
> > I had the impression that default port of http proxies is 8080, but I
might be wrong...
>
> I couldn't find any reference for using 8080 as default. Since all other
HTTP
> clients (wget, libwww-perl, ...) use 80, I don't see why curl should be
> different though.
Wikipedia says:
"HTTP alternate (http_alt)—commonly used for Web proxy and caching server,
or for running a Web server as a non-root user"
http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
Squid uses 3128 by default last time I looked. I see that Wikipedia says:
"Web caches and the default for the Squid (software)"
So I would not say 8080 is a default. As far as I am concerned, you should
not assume libcurl will have any default port for an HTTP proxy, because it
is not standardised.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-25