Re: Patch to allow GSSAPI authentication to a socks5 server
Date: Tue, 13 Jan 2009 23:10:44 -0000
"Daniel Stenberg" <daniel_at_haxx.se> wrote in message
> On Sun, 11 Jan 2009, Markus Moeller wrote:
>> Please find attached a patch to curl 7.19.2 which adds Socks5 GSSAPI
>> authentication. It works on Unix and Windows.
> Thanks a lot! Here follows my comments on it:
> - FYI: it won't be included in 7.19.3 since we're in a feature freeze
> - don't you think the two options CURLOPT_SOCKS5_GSSAPI_SERVICE and
> CURLOPT_SOCKS5_GSSAPI_NEC are better added as a 'proxytype' ? You can't
> combine them with the other socks variations anyway, can you? And that's
> we currently select between SOCKS 4, 5, 4A and 5-hostname... Or will
> and socks5-hostname both still work with these?
> - it uses #if [define] and #elif [define] on several places where it
> should do #ifdef [define] and #elif defined([define]) to be clean
> - it uses code wider than 80 columns at a few places
> - library-internal globals should be prefixed Curl_, like blockread_all
> converted from being a static should probably be renamed to
> Curl_blockread_all() or similar.
> - there's no docs added for the new options, in neither libcurl nor curl
> / daniel.haxx.se
I think I fixed the points above.
- application/octet-stream attachment: curl-7.19.2-socks5-gssapi-v2.patch