cURL / Mailing Lists / curl-library / Single Mail

curl-library

pre-connect sockaddr callback patch

From: Cory Nelson <phrosty_at_gmail.com>
Date: Tue, 30 Jan 2007 13:34:18 -0800

I had a situation where I needed to get the sockaddr* used *before*
any connect happened, so that I could allow the address through a
firewall. I used a callback here so that it could be called even with
Location: redirects.

I'm not sure how useful this will be for others but here is the patch
all the same.

- Cory

Received on 2007-01-30