SOCKOPTFUNCTION: callback can say already-connected
authorDaniel Stenberg <daniel@haxx.se>
Wed, 9 Feb 2011 14:46:41 +0000 (15:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 17 Feb 2011 21:32:01 +0000 (22:32 +0100)
commit1c3c0162c62e2788373261a43f484ff401017d8a
tree4ab9b9b3e7ceb5db385c1e7377f4ffed7d14a597
parenta40f58d2efac45dad7e12ea53870f42c825bcf0d
SOCKOPTFUNCTION: callback can say already-connected

Introducing a few CURL_SOCKOPT* defines for conveniance. The new
CURL_SOCKOPT_ALREADY_CONNECTED signals to libcurl that the socket is to
be treated as already connected and thus it will skip the connect()
call.
RELEASE-NOTES
include/curl/curl.h
lib/connect.c