nghttp2/tests
Tatsuhiro Tsujikawa b5717cd288 Fix bug that data are not consumed for connection in race condition
When we know that stream is closed at time we read DATA frame header,
we use NGHTTP2_IB_IGN_DATA, and consume data for connection if
nghttp2_option_set_no_auto_window_update() is used.  However, if
stream is closed while we are in NGHTTP2_IB_READ_DATA, those bytes are
not consumed for connection, nor notified to application via callback,
so it eventually fills up connection window and connection will
freeze.  This commit fixes this issue by consuming these data for
connection when stream is closed or does not exist.
2015-06-11 23:34:30 +09:00
..
testdata
.gitignore
Makefile.am
end_to_end.py
failmalloc.c
failmalloc_test.c Fix invalid memory free 2015-05-22 23:36:34 +09:00
failmalloc_test.h
main.c Fix bug that data are not consumed for connection in race condition 2015-06-11 23:34:30 +09:00
malloc_wrapper.c
malloc_wrapper.h
nghttp2_buf_test.c Add test for GH-232 2015-05-15 01:00:09 +09:00
nghttp2_buf_test.h Add test for GH-232 2015-05-15 01:00:09 +09:00
nghttp2_frame_test.c
nghttp2_frame_test.h
nghttp2_hd_test.c Never index authorization and small cookie header field 2015-04-15 23:58:56 +09:00
nghttp2_hd_test.h
nghttp2_helper_test.c
nghttp2_helper_test.h
nghttp2_map_test.c
nghttp2_map_test.h
nghttp2_npn_test.c
nghttp2_npn_test.h
nghttp2_pq_test.c Replace priority queue with linear queue where possible 2015-04-25 00:56:46 +09:00
nghttp2_pq_test.h
nghttp2_queue_test.c
nghttp2_queue_test.h
nghttp2_session_test.c Fix bug that data are not consumed for connection in race condition 2015-06-11 23:34:30 +09:00
nghttp2_session_test.h Fix bug that data are not consumed for connection in race condition 2015-06-11 23:34:30 +09:00
nghttp2_stream_test.c
nghttp2_stream_test.h
nghttp2_test_helper.c tests: Break if all compressed header input processed in nghttp2_buf 2015-05-27 00:33:24 +09:00
nghttp2_test_helper.h