On Fri, 2 Apr 2010, Ben Greear wrote:

What is the Curl_setup_transfer supposed to cause to happen?

It inits a few variables for the upcoming transfer. Everything in libcurl basically is one of five "phases":

OPEN
DO
TRANSFER
DONE
CLOSE

... and TRANSFER is most often a raw sending of data that doesn't need a complicated state machine. During the 'DO' phase, the code for a protocol uses Curl_setup_transfer() to store a set of variables for the next phase: TRANSFER.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to