aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_ldap.h
diff options
context:
space:
mode:
authorJoe Mason <jmason@rim.com>2012-08-01 17:09:38 -0400
committerJoe Mason <jmason@rim.com>2012-08-02 17:43:25 -0400
commit19035292d0982bd8b5f0464302d7d1c5a33e8e02 (patch)
tree3be62597ad189f6315b59ad9fb90a2b7701f3a90 /lib/curl_ldap.h
parent81656a84669ef2fffafeb7e5db796958666538db (diff)
Hoist the loop out of get_request, and make sure that it can be reentered when a request is
half-finished. Note the the req struct used to be re-initialized AFTER reading pipeline data, so now that we initialize it from the caller we must be careful not to overwrite the pipeline data. Also we now need to handle the case where the buffer is already full when get_request is called - previously this never happened as it was always called with an empty buffer and looped until done. Now get_request is called in a loop, so the next step is to run the loop on a socket only when poll signals it is readable.
Diffstat (limited to 'lib/curl_ldap.h')
0 files changed, 0 insertions, 0 deletions