]> granicus.if.org Git - curl/commit
sendrecv: split the I/O handling into private handler
authorHoward Chu <hyc@highlandsun.com>
Fri, 7 May 2010 13:05:34 +0000 (15:05 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 May 2010 13:05:34 +0000 (15:05 +0200)
commitd64bd82bdcb169d0647a80f00068cedd761f8163
tree222920db94e7d4ae7df6df1f9a9afd0b78159492
parentcb6647ce1cfba836203e91057752441302b9c46a
sendrecv: split the I/O handling into private handler

Howard Chu brought the bulk work of this patch that properly
moves out the sending and recving of data to the parts of the
code that are properly responsible for the various ways of doing
so.

Daniel Stenberg assisted with polishing a few bits and fixed some
minor flaws in the original patch.

Another upside of this patch is that we now abuse CURLcodes less
with the "magic" -1 return codes and instead use CURLE_AGAIN more
consistently.
26 files changed:
lib/easy.c
lib/gtls.c
lib/gtls.h
lib/http.c
lib/krb4.h
lib/nss.c
lib/nssg.h
lib/pingpong.c
lib/polarssl.c
lib/polarssl.h
lib/qssl.c
lib/qssl.h
lib/security.c
lib/sendf.c
lib/sendf.h
lib/socks.c
lib/ssh.c
lib/ssh.h
lib/sslgen.c
lib/sslgen.h
lib/ssluse.c
lib/ssluse.h
lib/telnet.c
lib/transfer.c
lib/url.c
lib/urldata.h