Skip to content

Commit 4168d14

Browse files
committed
Adapt to upstream change
1 parent 35fda32 commit 4168d14

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

transports/http3-quiche/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,7 @@ third_party/quiche/quiche/quic/platform/api/quic_stack_trace.h
829829
third_party/quiche/quiche/quic/platform/api/quic_thread.h
830830
third_party/quiche/quiche/quic/tools/quic_simple_crypto_server_stream_helper.cc
831831
third_party/quiche/quiche/quic/tools/quic_simple_crypto_server_stream_helper.h
832+
third_party/quiche/quiche/web_transport/stream_helpers.h
832833
third_party/quiche/quiche/web_transport/web_transport_headers.cc
833834
third_party/quiche/quiche/web_transport/web_transport_headers.h
834835
third_party/quiche/quiche/web_transport/web_transport_priority_scheduler.cc

transports/http3-quiche/src/http3wtstreamvisitor.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include "src/http3wtstreamvisitor.h"
66
#include "src/http3server.h"
7+
#include "quiche/web_transport/stream_helpers.h"
78

89
namespace quic
910
{
@@ -140,7 +141,7 @@ namespace quic
140141
{
141142
auto cur = chunks_.front();
142143
absl::Status status =
143-
WriteIntoStream(*stream_, absl::string_view(cur.buffer, cur.len));
144+
webtransport::WriteIntoStream(*stream_, absl::string_view(cur.buffer, cur.len));
144145
QUIC_DVLOG(1) << "Attempted writing on WebTransport bidirectional stream "
145146
<< ", success: " << status;
146147
if (!status.ok())
@@ -155,7 +156,7 @@ namespace quic
155156

156157
if (send_fin_)
157158
{
158-
absl::Status status = SendFinOnStream(*stream_);
159+
absl::Status status = webtransport::SendFinOnStream(*stream_);
159160
if (status.ok()) {
160161
fin_was_sent_ = true;
161162
getJS()->processStreamNetworkFinish(NetworkTask::streamFinal);

0 commit comments

Comments
 (0)