curl/tests/libtest
Stefan Eissing 036eb150d1
rtsp: deal with borked server responses
- enforce a response body length of 0, if the
  response has no Content-lenght. This is according
  to the RTSP spec.
- excess bytes in a response body are forwarded to
  the client writers which will report and fail the
  transfer

Follow-up to d7b6ce6
Fixes #12701
Closes #12706
2024-01-15 14:13:58 +01:00
..
.checksrc
.gitignore
chkhostname.c
CMakeLists.txt build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
first.c build: fix some -Wsign-conversion/-Warith-conversion warnings 2023-12-19 12:45:28 +00:00
lib500.c
lib501.c
lib502.c
lib503.c
lib504.c
lib505.c
lib506.c
lib507.c
lib508.c
lib509.c
lib510.c
lib511.c
lib512.c
lib513.c
lib514.c
lib515.c
lib516.c
lib517.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
lib518.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
lib519.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib520.c
lib521.c
lib523.c
lib524.c
lib525.c
lib526.c spelling: fix codespell 2.2.6 typos 2023-10-03 21:37:56 +00:00
lib530.c lib: fix conversion warnings with gcc on macOS 2023-05-21 14:02:31 +02:00
lib533.c spelling: fix codespell 2.2.6 typos 2023-10-03 21:37:56 +00:00
lib537.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
lib539.c libtest: use curl_free() to free libcurl allocated data 2023-08-28 13:24:51 +02:00
lib540.c tests: fix compiler warnings 2023-09-24 21:52:54 +00:00
lib541.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib542.c
lib543.c
lib544.c duphandle: use strdup to clone *COPYPOSTFIELDS if size is not set 2023-11-13 17:50:00 +01:00
lib547.c
lib549.c
lib552.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
lib553.c
lib554.c
lib555.c
lib556.c
lib557.c mprintf: overhaul and bugfixes 2023-12-22 09:51:57 +01:00
lib558.c
lib559.c
lib560.c
lib562.c
lib564.c
lib566.c
lib567.c rtsp: deal with borked server responses 2024-01-15 14:13:58 +01:00
lib568.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
lib569.c libtest: use curl_free() to free libcurl allocated data 2023-08-28 13:24:51 +02:00
lib570.c libtest: use curl_free() to free libcurl allocated data 2023-08-28 13:24:51 +02:00
lib571.c tests: increase lib571 timeout from 3s to 30s 2023-10-03 14:25:06 +02:00
lib572.c libtest: use curl_free() to free libcurl allocated data 2023-08-28 13:24:51 +02:00
lib573.c
lib574.c test574: add a timeout to the test 2023-10-04 12:15:57 -07:00
lib575.c
lib576.c test: minor test cleanups 2023-09-13 11:26:08 -07:00
lib578.c
lib579.c
lib582.c lib: fix conversion warnings with gcc on macOS 2023-05-21 14:02:31 +02:00
lib583.c
lib586.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib589.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib590.c
lib591.c tests: fix compiler warnings 2023-09-24 21:52:54 +00:00
lib597.c tests: fix compiler warnings 2023-09-24 21:52:54 +00:00
lib598.c
lib599.c
lib643.c
lib650.c lib: move mimepost data from ->req.p.http to ->state 2023-08-17 23:49:57 +02:00
lib651.c
lib652.c
lib653.c
lib654.c
lib655.c
lib658.c
lib659.c
lib661.c test661: return from test early in case of curl error 2023-09-13 11:26:08 -07:00
lib666.c
lib667.c
lib668.c
lib670.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
lib674.c
lib676.c
lib677.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib678.c
lib1156.c http: consider resume with CURLOPT_FAILONERRROR and 416 to be fine 2023-10-30 17:00:34 +01:00
lib1301.c
lib1500.c
lib1501.c
lib1502.c
lib1506.c
lib1507.c
lib1508.c
lib1509.c
lib1510.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1511.c
lib1512.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1513.c
lib1514.c
lib1515.c
lib1517.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
lib1518.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1520.c
lib1522.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1523.c tests: fix bad printf format flags in test code 2023-08-07 10:46:14 +02:00
lib1525.c
lib1526.c
lib1527.c
lib1528.c
lib1529.c
lib1530.c
lib1531.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
lib1532.c
lib1533.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1534.c
lib1535.c
lib1536.c
lib1537.c
lib1538.c
lib1540.c test1540: improve reliability 2023-10-09 14:07:59 +02:00
lib1541.c
lib1542.c
lib1545.c test1545: disable deprecation warnings 2023-12-02 20:17:41 +00:00
lib1550.c
lib1551.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1552.c
lib1553.c
lib1554.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1555.c
lib1556.c
lib1557.c
lib1558.c
lib1559.c
lib1560.c build: fix some -Wsign-conversion/-Warith-conversion warnings 2023-12-19 12:45:28 +00:00
lib1564.c
lib1565.c
lib1567.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1568.c
lib1569.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1591.c
lib1592.c test1592: greatly increase the maximum test timeout 2023-09-13 11:26:08 -07:00
lib1593.c
lib1594.c
lib1597.c
lib1662.c tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
lib1900.c test1900: verify duphandle with HSTS using multiple files 2023-11-13 15:36:15 +01:00
lib1903.c test1903: actually verify the cookies after the test 2023-10-05 13:13:43 -07:00
lib1905.c
lib1906.c test1906: set a lower timeout since it's hit on Windows 2023-10-05 02:05:13 -07:00
lib1907.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1908.c
lib1910.c
lib1911.c
lib1912.c
lib1913.c
lib1915.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1916.c
lib1918.c
lib1919.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1933.c
lib1934.c
lib1935.c
lib1936.c
lib1937.c
lib1938.c
lib1939.c
lib1940.c headers: make sure the trailing newline is not stored 2024-01-10 13:57:08 +01:00
lib1945.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1947.c build: fix some -Wsign-conversion/-Warith-conversion warnings 2023-12-19 12:45:28 +00:00
lib1948.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib1955.c http_aws_sigv4: handle no-value user header entries 2023-09-11 15:24:05 -04:00
lib1956.c
lib1957.c
lib1958.c
lib1959.c
lib1960.c windows: delete redundant headers 2023-12-18 14:56:57 +00:00
lib1964.c lib: fix aws-sigv4 having date header twice in some cases 2023-08-30 03:41:29 -04:00
lib1970.c
lib1971.c
lib1972.c
lib1973.c
lib1974.c
lib1975.c
lib2301.c ws: fix spelling mistakes in examples and tests 2023-09-03 18:01:58 +02:00
lib2302.c test2302: improve reliability 2023-10-09 14:07:08 +02:00
lib2304.c ws: fix spelling mistakes in examples and tests 2023-09-03 18:01:58 +02:00
lib2305.c build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
lib2306.c tests: propagate errors in libtests 2023-10-04 12:15:57 -07:00
lib2402.c
lib2404.c http2: fix crash in handling stream weights 2023-06-28 16:32:16 -04:00
lib2502.c
lib3010.c tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
lib3025.c
lib3026.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
lib3027.c
lib3100.c
lib3101.c
lib3102.c schannel: fix ordering of cert chain info 2023-09-08 03:47:13 -04:00
lib3103.c test3103: CURLOPT_COOKIELIST test 2023-09-19 08:26:14 +02:00
libauthretry.c
libntlmconnect.c tests: fix compiler warnings 2023-09-24 21:52:54 +00:00
libprereq.c
Makefile.am build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
Makefile.inc test1545: test doing curl_formadd twice with missing file 2023-11-28 22:57:42 +01:00
mk-lib1521.pl
notexists.pl
sethostname.c build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
stub_gssapi.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
stub_gssapi.h
test307.pl
test610.pl
test613.pl test613: stop showing an error on missing output file 2023-10-13 20:28:58 -07:00
test1013.pl
test1022.pl
test.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
testtrace.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
testtrace.h
testutil.c build: fix some -Wsign-conversion/-Warith-conversion warnings 2023-12-19 12:45:28 +00:00
testutil.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00