cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Proxy discovery

From: Richard Atterer <richard_at_2007.atterer.net>
Date: Tue, 13 Mar 2007 15:13:53 +0100

On Tue, Mar 13, 2007 at 09:28:04AM -0400, Jonathan Arnold wrote:
> Does anyone have any, or know of any, sample code to do proxy
> discovery, esp. if it was on Windows and used the InternetQueryOption
> to get IE's proxy options? We'd rather not put in a whole set of
> our own proxy settings, and just get the Windows ones.

I did a similar thing a while ago:
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/jigdo/jigdo/src/net/proxyguess.cc?rev=HEAD&content-type=text/vnd.viewcvs-markup
But this is probably not much more advanced than your code.

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  GnuPG key: 888354F7
  | \/¯|  http://atterer.net  |  08A9 7B7D 3D13 3EF2 3D25  D157 79E6 F6DC 8883 54F7
  ¯ '` ¯
Received on 2007-03-13