On 9 February 2011 15:13, Keean Schupke <[email protected]> wrote: > On 9 February 2011 14:57, Daniel Stenberg <[email protected]> wrote: > >> On Wed, 9 Feb 2011, Keean Schupke wrote: >> >> Okay, That makes complete sense. I would be completely happy with >>> returning something from CURLOPT_SOCKOPTFUNCTION to indicate I do not want >>> libcurl to try and connect the socket. >>> >> >> Okay, so what do you say about a patch similar to what I attach here? >> >> Note that I just fixed a bug in there immediately before producing this >> patch, so you most probably need to apply this to the current git or do some >> manual editing to make it apply on older code. >> >> (This is a new feature so we're not merging this into master until after >> the pending release, but we can still make it work as we like.) >> >> -- >> >> / daniel.haxx.se >> ------------------------------------------------------------------- >> List admin: http://cool.haxx.se/list/listinfo/curl-library >> Etiquette: http://curl.haxx.se/mail/etiquette.html >> > > I will update libcurl and try the patch, and let you know if it passes all > our unit tests. > > Cheers, > Keean. >
We have patched 7.21.4 with the supplied patch and modified our app, and it passes all the unit tests, so that does exactly what we need. Cheers, Keean.
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
