1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-18 07:25:14 -05:00
curl/tests/server
Ayoub Boudhar f464535bfd
http: Implement trailing headers for chunked transfers
This adds the CURLOPT_TRAILERDATA and CURLOPT_TRAILERFUNCTION
options that allow a callback based approach to sending trailing headers
with chunked transfers.

The test server (sws) was updated to take into account the detection of the
end of transfer in the case of trailing headers presence.

Test 1591 checks that trailing headers can be sent using libcurl.

Closes #3350
2018-12-14 10:10:48 +01:00
..
.gitignore gitignore: Sort for readability 2015-08-18 01:03:05 -04:00
base64.pl scripts: allow all perl scripts to be run directly 2018-01-07 15:42:11 -05:00
CMakeLists.txt whitespace fixes 2018-09-23 22:24:02 +00:00
fake_ntlm.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
getpart.c cppcheck: fix warnings 2018-06-11 11:14:48 +02:00
getpart.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
Makefile.am includes: remove curl/curlbuild.h and curl/curlrules.h 2017-06-14 11:07:33 +02:00
Makefile.inc curl_ctype: private is*() type macros and functions 2018-01-29 22:56:43 +01:00
resolve.c code style: use spaces around equals signs 2017-09-11 09:29:50 +02:00
rtspd.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
server_setup.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
server_sockaddr.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
sockfilt.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
sws.c http: Implement trailing headers for chunked transfers 2018-12-14 10:10:48 +01:00
testpart.c whitespace fixes 2018-09-23 22:24:02 +00:00
tftp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tftpd.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
util.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
util.h timediff: return timediff_t from the time diff functions 2017-10-25 09:54:37 +02:00