curl/tests/libtest
Stefan Eissing 29f33b3400 http2: fix crash in handling stream weights
- Delay the priority handling until the stream has been opened.

- Add test2404 to reproduce and verify.

Weights may change "on the run", which is why there are checks in
general egress handling. These must not trigger when the stream has not
been opened yet.

Reported-by: jbgoog@users.noreply.github.com

Fixes https://github.com/curl/curl/issues/11379
Closes https://github.com/curl/curl/pull/11384
2023-06-28 16:32:16 -04:00
..
.checksrc
.gitignore lib: remove CURLX_NO_MEMORY_CALLBACKS 2023-04-08 17:47:10 +02:00
chkhostname.c
CMakeLists.txt cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
first.c tests: limit return code of unit tests and lib tests 2023-03-30 19:16:40 -07:00
lib500.c
lib501.c
lib502.c
lib503.c
lib504.c
lib505.c
lib506.c tests: fix lib tests to run with a dynamic log directory 2023-03-30 09:53:57 -07:00
lib507.c
lib508.c
lib509.c
lib510.c
lib511.c
lib512.c
lib513.c
lib514.c
lib515.c
lib516.c
lib517.c
lib518.c
lib519.c
lib520.c
lib521.c
lib523.c
lib524.c
lib525.c
lib526.c
lib530.c lib: fix conversion warnings with gcc on macOS 2023-05-21 14:02:31 +02:00
lib533.c
lib537.c
lib539.c
lib540.c
lib541.c
lib542.c
lib543.c
lib544.c
lib547.c
lib549.c
lib552.c
lib553.c
lib554.c
lib555.c
lib556.c
lib557.c
lib558.c
lib559.c
lib560.c
lib562.c
lib564.c
lib566.c
lib567.c
lib568.c tests: fix lib tests to run with a dynamic log directory 2023-03-30 09:53:57 -07:00
lib569.c
lib570.c
lib571.c rtsp: skip malformed RTSP interleaved frame data 2023-03-30 09:59:09 +02:00
lib572.c tests: fix lib tests to run with a dynamic log directory 2023-03-30 09:53:57 -07:00
lib573.c
lib574.c
lib575.c
lib576.c
lib578.c
lib579.c
lib582.c lib: fix conversion warnings with gcc on macOS 2023-05-21 14:02:31 +02:00
lib583.c tests: move server config files under the pid dir 2023-03-31 23:08:00 -07:00
lib586.c
lib589.c
lib590.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
lib591.c
lib597.c
lib598.c
lib599.c
lib643.c lib643: LIB644 is never defined, this is dead code 2023-03-15 00:08:09 +01:00
lib650.c
lib651.c
lib652.c
lib653.c
lib654.c tests: fix lib tests to run with a dynamic log directory 2023-03-30 09:53:57 -07:00
lib655.c
lib658.c
lib659.c
lib661.c
lib666.c
lib667.c
lib668.c tests: fix lib tests to run with a dynamic log directory 2023-03-30 09:53:57 -07:00
lib670.c
lib674.c
lib676.c tests: fix lib tests to run with a dynamic log directory 2023-03-30 09:53:57 -07:00
lib677.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
lib678.c checksrc: find bad indentation in conditions without open brace 2023-04-28 23:11:00 +02:00
lib1156.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
lib1301.c
lib1500.c
lib1501.c
lib1502.c
lib1506.c
lib1507.c
lib1508.c
lib1509.c
lib1510.c
lib1511.c
lib1512.c
lib1513.c
lib1514.c
lib1515.c
lib1517.c cf-socket: completely remove the disabled USE_RECV_BEFORE_SEND_WORKAROUND 2023-05-18 20:55:16 +02:00
lib1518.c
lib1520.c
lib1522.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
lib1523.c
lib1525.c
lib1526.c
lib1527.c
lib1528.c
lib1529.c
lib1530.c
lib1531.c
lib1532.c
lib1533.c
lib1534.c
lib1535.c
lib1536.c
lib1537.c
lib1538.c
lib1540.c
lib1541.c
lib1542.c
lib1550.c
lib1551.c
lib1552.c
lib1553.c
lib1554.c
lib1555.c
lib1556.c
lib1557.c
lib1558.c
lib1559.c
lib1560.c urlapi: have *set(PATH) prepend a slash if one is missing 2023-06-08 16:08:45 +02:00
lib1564.c
lib1565.c
lib1567.c
lib1568.c
lib1569.c
lib1591.c
lib1592.c
lib1593.c
lib1594.c
lib1597.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
lib1662.c
lib1903.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
lib1905.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
lib1906.c
lib1907.c
lib1908.c tests: fix lib tests to run with a dynamic log directory 2023-03-30 09:53:57 -07:00
lib1910.c
lib1911.c
lib1912.c
lib1913.c
lib1915.c
lib1916.c
lib1918.c
lib1919.c
lib1933.c
lib1934.c
lib1935.c
lib1936.c
lib1937.c
lib1938.c
lib1939.c
lib1940.c
lib1945.c
lib1947.c
lib1948.c
lib1955.c
lib1956.c
lib1957.c
lib1958.c
lib1959.c
lib1960.c test1960: verify CURL_SOCKOPT_ALREADY_CONNECTED 2023-03-03 08:36:25 +01:00
lib1970.c aws_sigv4: fall back to UNSIGNED-PAYLOAD for sign_as_s3 2023-03-14 17:04:47 +01:00
lib1971.c aws_sigv4: fall back to UNSIGNED-PAYLOAD for sign_as_s3 2023-03-14 17:04:47 +01:00
lib1972.c aws_sigv4: fall back to UNSIGNED-PAYLOAD for sign_as_s3 2023-03-14 17:04:47 +01:00
lib1973.c aws_sigv4: fall back to UNSIGNED-PAYLOAD for sign_as_s3 2023-03-14 17:04:47 +01:00
lib1974.c aws_sigv4: fall back to UNSIGNED-PAYLOAD for sign_as_s3 2023-03-14 17:04:47 +01:00
lib1975.c aws_sigv4: fall back to UNSIGNED-PAYLOAD for sign_as_s3 2023-03-14 17:04:47 +01:00
lib2301.c
lib2302.c ws: make the curl_ws_meta() return pointer a const 2023-06-07 23:37:21 +02:00
lib2304.c ws: make the curl_ws_meta() return pointer a const 2023-06-07 23:37:21 +02:00
lib2305.c ws: make the curl_ws_meta() return pointer a const 2023-06-07 23:37:21 +02:00
lib2306.c test2306: verify getting a second response with folded headers 2023-05-12 17:50:33 +02:00
lib2402.c
lib2404.c http2: fix crash in handling stream weights 2023-06-28 16:32:16 -04:00
lib2502.c
lib3010.c
lib3025.c
lib3026.c
lib3027.c
lib3100.c
lib3101.c
libauthretry.c
libntlmconnect.c
libprereq.c
Makefile.am
Makefile.inc http2: fix crash in handling stream weights 2023-06-28 16:32:16 -04:00
mk-lib1521.pl
notexists.pl
sethostname.c
sethostname.h
stub_gssapi.c tests: stop using strndup(), which isn't portable 2023-04-10 10:51:07 -07:00
stub_gssapi.h
test307.pl
test610.pl
test613.pl
test1013.pl
test1022.pl
test.h libtest: display the times after a test timeout error 2023-06-19 17:14:27 -07:00
testtrace.c
testtrace.h
testutil.c
testutil.h