[racket] net/url current-proxy-servers implementation for ssl?

From: Matthew Eric Bassett (mebassett at gegn.net)
Date: Wed Feb 19 10:16:42 EST 2014

Hello fellow racketeers,

So we have a few web crawlers written in Racket that for the most part 
work quite well - however, we often have them running behind our 
corporate proxy.  We were quite bemused today when one stopped working 
when it found an https link.

A quick check of the docs revealed:

>> (current-proxy-servers)
>>      → (listof (list/c string? string? (integer-in 0 65535)))
>> (current-proxy-servers mapping) → void?
>>       mapping : (listof (list/c string? string? (integer-in 0 65535)))
>> 
>> A parameter that determines a mapping of proxy servers used for 
>> connections. Each mapping is a list of three elements:
>>     * the URL scheme, such as "http";
>>     * the proxy server address; and
>>     * the proxy server port number.
>> 
>> Currently, **the only proxiable scheme is "http"**. The default 
>> mapping is the empty list (i.e., no proxies).

Are there any plans for a proxy implementation for https?  Or any major 
obstacles preventing such?  I know very little about the dark 
innerworkings of ssl.

Thanks,

Matthew Eric



--
Matthew Eric Bassett | http://mebassett.info


Posted on the users mailing list.