- Fix unit test to properly test the reuse_write_wait_pop function.

This commit is contained in:
George Thessalonikefs 2022-10-07 11:29:46 +02:00
parent 2569b12b9c
commit a4631a3ecf
2 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,7 @@
- Fix to stop possible loops in the tcp reuse code (write_wait list
and tcp_wait list). Based on analysis and patch from Prad Seniappan
and Karthik Umashankar.
- Fix unit test to properly test the reuse_write_wait_pop function.
6 October 2022: Wouter
- Fix to stop responses with TC flag from resulting in partial

View File

@ -474,9 +474,9 @@ static void reuse_write_wait_test(void)
/* Check pop */
unit_show_func("services/outside_network.c", "reuse_write_wait_pop");
check_reuse_write_wait_removal(0, &reuse, store, 0, 3);
check_reuse_write_wait_removal(0, &reuse, store, 0, 2);
check_reuse_write_wait_removal(0, &reuse, store, 0, 1);
check_reuse_write_wait_removal(1, &reuse, store, 0, 3);
check_reuse_write_wait_removal(1, &reuse, store, 0, 2);
check_reuse_write_wait_removal(1, &reuse, store, 0, 1);
}
void tcpreuse_test(void)