mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-08 02:58:53 +08:00
Added spdylay_stream_add_pushed_stream
With this function and 3 new member in spdylay_stream, we can track server- pushed streams which associate them to this stream.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "spdylay_zlib_test.h"
|
||||
#include "spdylay_session_test.h"
|
||||
#include "spdylay_frame_test.h"
|
||||
#include "spdylay_stream_test.h"
|
||||
|
||||
int init_suite1(void)
|
||||
{
|
||||
@@ -104,7 +105,9 @@ int main()
|
||||
test_spdylay_frame_pack_headers) ||
|
||||
!CU_add_test(pSuite, "frame_pack_settings",
|
||||
test_spdylay_frame_pack_settings) ||
|
||||
!CU_add_test(pSuite, "frame_nv_sort", test_spdylay_frame_nv_sort)) {
|
||||
!CU_add_test(pSuite, "frame_nv_sort", test_spdylay_frame_nv_sort) ||
|
||||
!CU_add_test(pSuite, "stream_add_pushed_stream",
|
||||
test_spdylay_stream_add_pushed_stream)) {
|
||||
CU_cleanup_registry();
|
||||
return CU_get_error();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user