@fails-components/webtransport-transport-http3-quiche 1.4.4 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CMakeLists.txt +32 -14
- package/package.json +1 -1
- package/src/http3client.cc +1 -1
- package/src/http3wtsessionvisitor.cc +2 -2
- package/src/http3wtstreamvisitor.cc +1 -0
package/CMakeLists.txt
CHANGED
|
@@ -33,11 +33,20 @@ add_subdirectory(third_party/abseil-cpp EXCLUDE_FROM_ALL)
|
|
|
33
33
|
|
|
34
34
|
# include protobuf
|
|
35
35
|
SET(protobuf_WITH_ZLIB OFF CACHE BOOL "Build with zlib support")
|
|
36
|
-
SET(protobuf_BUILD_TESTS OFF CACHE BOOL "Build tests")
|
|
36
|
+
SET(protobuf_BUILD_TESTS OFF CACHE BOOL "Build tests off")
|
|
37
|
+
set(protobuf_INSTALL OFF CACHE BOOL "Install protobuf off" FORCE)
|
|
37
38
|
add_subdirectory(third_party/protobuf EXCLUDE_FROM_ALL)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
if(APPLE)
|
|
40
|
+
execute_process(
|
|
41
|
+
COMMAND uname -m
|
|
42
|
+
OUTPUT_VARIABLE HOST_ARCH
|
|
43
|
+
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
44
|
+
)
|
|
45
|
+
set_target_properties(protoc libprotoc libprotobuf
|
|
46
|
+
PROPERTIES
|
|
47
|
+
OSX_ARCHITECTURES "${HOST_ARCH}"
|
|
48
|
+
)
|
|
49
|
+
endif()
|
|
41
50
|
|
|
42
51
|
IF (WIN32)
|
|
43
52
|
add_compile_definitions(WIN32_LEAN_AND_MEAN NOGDI)
|
|
@@ -63,9 +72,9 @@ endif(COMMAND cmake_policy)
|
|
|
63
72
|
|
|
64
73
|
|
|
65
74
|
#protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS
|
|
66
|
-
#third_party/quiche/quiche
|
|
67
|
-
#third_party/quiche/quiche
|
|
68
|
-
#third_party/quiche/quiche
|
|
75
|
+
#third_party/quiche/quiche//proto/cached_network_parameters.proto
|
|
76
|
+
#third_party/quiche/quiche//proto/crypto_server_config.proto
|
|
77
|
+
#third_party/quiche/quiche//proto/source_address_token.proto)
|
|
69
78
|
|
|
70
79
|
|
|
71
80
|
|
|
@@ -91,12 +100,12 @@ platform/quiche_platform_impl/quiche_server_stats_impl.h
|
|
|
91
100
|
platform/quiche_platform_impl/quiche_flag_utils_impl.h
|
|
92
101
|
#protofiles
|
|
93
102
|
#${PROTO_SRCS}
|
|
94
|
-
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche
|
|
95
|
-
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche
|
|
96
|
-
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche
|
|
97
|
-
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche
|
|
98
|
-
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche
|
|
99
|
-
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche
|
|
103
|
+
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche//proto/cached_network_parameters.pb.h
|
|
104
|
+
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche//proto/crypto_server_config.pb.h
|
|
105
|
+
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche//proto/source_address_token.pb.h
|
|
106
|
+
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche//proto/cached_network_parameters.pb.cc
|
|
107
|
+
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche//proto/crypto_server_config.pb.cc
|
|
108
|
+
#${CMAKE_CURRENT_BINARY_DIR}/third_party/quiche/quiche//proto/source_address_token.pb.cc
|
|
100
109
|
# url file
|
|
101
110
|
third_party/googleurl/base/debug/crash_logging.cc
|
|
102
111
|
third_party/googleurl/base/debug/crash_logging.h
|
|
@@ -120,6 +129,7 @@ third_party/googleurl/url/url_canon_etc.cc
|
|
|
120
129
|
third_party/googleurl/url/url_canon_fileurl.cc
|
|
121
130
|
third_party/googleurl/url/url_canon_internal.h
|
|
122
131
|
third_party/googleurl/url/url_canon_mailtourl.cc
|
|
132
|
+
third_party/googleurl/url/url_canon_non_special_url.cc
|
|
123
133
|
third_party/googleurl/url/url_canon_pathurl.cc
|
|
124
134
|
third_party/googleurl/url/url_canon_path.cc
|
|
125
135
|
third_party/googleurl/url/url_canon_relative.cc
|
|
@@ -128,7 +138,7 @@ third_party/googleurl/url/url_parse_internal.h
|
|
|
128
138
|
third_party/googleurl/url/url_parse_file.cc
|
|
129
139
|
third_party/googleurl/url/url_canon_host.cc
|
|
130
140
|
third_party/googleurl/url/url_canon_ip.cc
|
|
131
|
-
third_party/googleurl/url/url_constants.
|
|
141
|
+
third_party/googleurl/url/url_constants.h
|
|
132
142
|
third_party/googleurl/url/url_features.cc
|
|
133
143
|
third_party/googleurl/url/url_features.h
|
|
134
144
|
third_party/googleurl/url/url_util.cc
|
|
@@ -349,6 +359,8 @@ third_party/quiche/quiche/http2/hpack/varint/hpack_varint_encoder.h
|
|
|
349
359
|
#third_party/quiche/quiche/quic/bindings/quic_libevent.cc
|
|
350
360
|
third_party/quiche/quiche/quic/core/chlo_extractor.cc
|
|
351
361
|
third_party/quiche/quiche/quic/core/chlo_extractor.h
|
|
362
|
+
third_party/quiche/quiche/quic/core/quic_force_blockable_packet_writer.cc
|
|
363
|
+
third_party/quiche/quiche/quic/core/quic_force_blockable_packet_writer.h
|
|
352
364
|
third_party/quiche/quiche/quic/core/quic_ping_manager.cc
|
|
353
365
|
third_party/quiche/quiche/quic/core/quic_ping_manager.h
|
|
354
366
|
third_party/quiche/quiche/quic/core/congestion_control/bandwidth_sampler.cc
|
|
@@ -545,6 +557,8 @@ third_party/quiche/quiche/quic/core/http/http_decoder.h
|
|
|
545
557
|
third_party/quiche/quiche/quic/core/http/http_encoder.cc
|
|
546
558
|
third_party/quiche/quiche/quic/core/http/http_encoder.h
|
|
547
559
|
third_party/quiche/quiche/quic/core/http/http_frames.h
|
|
560
|
+
third_party/quiche/quiche/quic/core/http/quic_connection_migration_manager.cc
|
|
561
|
+
third_party/quiche/quiche/quic/core/http/quic_connection_migration_manager.h
|
|
548
562
|
third_party/quiche/quiche/quic/core/http/quic_header_list.cc
|
|
549
563
|
third_party/quiche/quiche/quic/core/http/quic_header_list.h
|
|
550
564
|
third_party/quiche/quiche/quic/core/http/quic_headers_stream.cc
|
|
@@ -559,6 +573,8 @@ third_party/quiche/quiche/quic/core/http/quic_server_session_base.cc
|
|
|
559
573
|
third_party/quiche/quiche/quic/core/http/quic_server_session_base.h
|
|
560
574
|
third_party/quiche/quiche/quic/core/http/quic_spdy_client_session.cc
|
|
561
575
|
third_party/quiche/quiche/quic/core/http/quic_spdy_client_session.h
|
|
576
|
+
third_party/quiche/quiche/quic/core/http/quic_spdy_client_session_with_migration.cc
|
|
577
|
+
third_party/quiche/quiche/quic/core/http/quic_spdy_client_session_with_migration.h
|
|
562
578
|
third_party/quiche/quiche/quic/core/http/quic_spdy_client_session_base.cc
|
|
563
579
|
third_party/quiche/quiche/quic/core/http/quic_spdy_client_session_base.h
|
|
564
580
|
third_party/quiche/quiche/quic/core/http/quic_spdy_client_stream.cc
|
|
@@ -722,6 +738,8 @@ third_party/quiche/quiche/quic/core/quic_packet_number.h
|
|
|
722
738
|
third_party/quiche/quiche/quic/core/quic_packet_reader.cc
|
|
723
739
|
third_party/quiche/quiche/quic/core/quic_packet_reader.h
|
|
724
740
|
third_party/quiche/quiche/quic/core/quic_packet_writer.h
|
|
741
|
+
third_party/quiche/quiche/quic/core/quic_packet_writer_wrapper.cc
|
|
742
|
+
third_party/quiche/quiche/quic/core/quic_packet_writer_wrapper.h
|
|
725
743
|
third_party/quiche/quiche/quic/core/quic_packets.cc
|
|
726
744
|
third_party/quiche/quiche/quic/core/quic_packets.h
|
|
727
745
|
third_party/quiche/quiche/quic/core/quic_path_validator.cc
|
package/package.json
CHANGED
package/src/http3client.cc
CHANGED
|
@@ -9,10 +9,10 @@ namespace quic
|
|
|
9
9
|
|
|
10
10
|
Http3WTSession::Visitor::~Visitor()
|
|
11
11
|
{
|
|
12
|
-
// printf("~Visitor %d %x %x\n", getpid(), this, session_);
|
|
12
|
+
// printf("Session ~Visitor %d %x %x\n", getpid(), this, session_);
|
|
13
13
|
Http3WTSessionJS *sessobj = session_->getJS();
|
|
14
14
|
if (sessobj) {
|
|
15
|
-
|
|
15
|
+
sessobj->Unref();
|
|
16
16
|
} else
|
|
17
17
|
delete session_;
|
|
18
18
|
session_ = nullptr;
|