@fails-components/webtransport-transport-http3-quiche 1.6.7 → 1.6.9
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 +2 -0
- package/build.js +1 -0
- package/package.json +1 -1
- package/src/http3serverstream.cc +3 -2
package/CMakeLists.txt
CHANGED
|
@@ -654,6 +654,8 @@ third_party/quiche/quiche/quic/core/qpack/value_splitting_header_list.cc
|
|
|
654
654
|
third_party/quiche/quiche/quic/core/qpack/value_splitting_header_list.h
|
|
655
655
|
third_party/quiche/quiche/quic/core/quic_ack_listener_interface.cc
|
|
656
656
|
third_party/quiche/quiche/quic/core/quic_ack_listener_interface.h
|
|
657
|
+
third_party/quiche/quiche/quic/core/quic_ack_timestamp_list.cc
|
|
658
|
+
third_party/quiche/quiche/quic/core/quic_ack_timestamp_list.h
|
|
657
659
|
third_party/quiche/quiche/quic/core/quic_alarm.cc
|
|
658
660
|
third_party/quiche/quiche/quic/core/quic_alarm.h
|
|
659
661
|
third_party/quiche/quiche/quic/core/quic_alarm_factory.h
|
package/build.js
CHANGED
|
@@ -211,6 +211,7 @@ if (argv.length > 2) {
|
|
|
211
211
|
const pbargs = []
|
|
212
212
|
const pbargspre = []
|
|
213
213
|
if (platform === 'win32') pbargs.push('-t', 'ClangCL')
|
|
214
|
+
if (platform === 'linux') platformargs.push('--prefer-clang')
|
|
214
215
|
if (env.BUILDARCH) {
|
|
215
216
|
pbargspre.push('--arch', env.BUILDARCH)
|
|
216
217
|
platformargs.push('--arch', env.BUILDARCH)
|
package/package.json
CHANGED
package/src/http3serverstream.cc
CHANGED
|
@@ -59,12 +59,13 @@ namespace quic
|
|
|
59
59
|
Http3ServerStream::~Http3ServerStream()
|
|
60
60
|
{
|
|
61
61
|
// http3_server_backend_->CloseBackendResponseStream(this);
|
|
62
|
-
|
|
62
|
+
auto pending_proms_copy = pending_proms_;
|
|
63
|
+
for (auto prom : pending_proms_copy)
|
|
63
64
|
{
|
|
64
65
|
std::unique_ptr<Http3ServerBackend::WebTransportResponse> response =
|
|
65
66
|
std::make_unique<Http3ServerBackend::WebTransportResponse>();
|
|
66
67
|
response->response_headers[":status"] = "500"; // internal server error, probably implementation on js side
|
|
67
|
-
prom->resolve(std::move(response));
|
|
68
|
+
prom->resolve(std::move(response)); // this may mutate pending_proms_
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
|