1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00
curl/tests/server
Joe Mason 19035292d0 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.
2012-08-02 17:43:25 -04:00
..
.gitignore gitignore: ignore fake_ntlm 2011-07-18 23:49:31 +02:00
base64.pl utility to base encode data passed on stdin 2004-11-29 12:09:05 +00:00
CMakeLists.txt removed trailing whitespace 2010-02-14 19:40:18 +00:00
fake_ntlm.c test servers: build adjustment 2012-04-10 17:32:06 +02:00
getpart.c test servers: build adjustment 2012-04-10 17:32:06 +02:00
getpart.h test servers: build adjustment 2012-04-10 17:32:06 +02:00
Makefile.am configure: NATIVE_WINDOWS no longer defined in config files 2012-04-12 13:08:48 +02:00
Makefile.inc test servers: build adjustment 2012-04-10 17:32:06 +02:00
resolve.c test servers: build adjustment 2012-04-10 17:32:06 +02:00
rtspd.c test servers: build adjustment 2012-04-10 17:32:06 +02:00
server_setup.h build adjustments: functionally revert commits 4d3fb91f and bbfe1182 2012-04-11 19:28:40 +02:00
server_sockaddr.h test servers: build adjustment 2012-04-10 17:32:06 +02:00
sockfilt.c test servers: build adjustment 2012-04-10 17:32:06 +02:00
sws.c Hoist the loop out of get_request, and make sure that it can be reentered when a request is 2012-08-02 17:43:25 -04:00
testpart.c test servers: build adjustment 2012-04-10 17:32:06 +02:00
tftp.h headers: require GCC 2.7 or newer in order to allow attribute GCC'isms usage 2012-04-14 15:12:30 +02:00
tftpd.c test servers: build adjustment 2012-04-10 17:32:06 +02:00
util.c test servers: build adjustment 2012-04-10 17:32:06 +02:00
util.h test servers: build adjustment 2012-04-10 17:32:06 +02:00