cURL / Mailing Lists / curl-library / Single Mail


Re: Adding pacparser code to libcurl/curl

From: Daniel Stenberg <>
Date: Fri, 25 Jan 2008 12:28:57 +0100 (CET)

On Fri, 25 Jan 2008, Manu Garg wrote:

> IMO, libproxy and pacparser are quite different. libproxy tries to identify
> proxy automagically which doesn't go well with integrating it with anything.
> pacparser doesn't do any magic. It takes a PAC file from user and determine
> proxy using that file.

But to a PAC-user, both libproxy and pacparser would serve the exact same
purpose (and in fact I would even assume that libproxy uses pacparser) and
that is to parse a PAC to figure out the proxy to use for a given url.

I don't understand what purpose pacparser would have in libcurl. Why can't
applications that need to parse PAC files simply use pacparser (or libproxy)?

I can see how it would be a useful addition to curl though, as an application.

  Commercial curl and libcurl Technical Support:
Received on 2008-01-25