Skip to content

Commit 022eeb3

Browse files
committed
Remove unused functions
1 parent abf7acb commit 022eeb3

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

transports/http3-quiche/src/http3serversession.cc

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -109,20 +109,6 @@ namespace quic
109109
return stream;
110110
}
111111

112-
Http3ServerStream *
113-
Http3ServerSession::CreateOutgoingUnidirectionalStream()
114-
{
115-
if (!ShouldCreateOutgoingUnidirectionalStream())
116-
{
117-
return nullptr;
118-
}
119-
120-
Http3ServerStream *stream = new Http3ServerStream(
121-
GetNextOutgoingUnidirectionalStreamId(), this, WRITE_UNIDIRECTIONAL,
122-
http3_server_backend_);
123-
ActivateStream(absl::WrapUnique(stream));
124-
return stream;
125-
}
126112

127113
void Http3ServerSession::OnCanCreateNewOutgoingStream(bool unidirectional) {
128114
if (SupportsWebTransport()) {

transports/http3-quiche/src/http3serversession.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ namespace quic
6363
QuicSpdyStream *CreateIncomingStream(QuicStreamId id) override;
6464
QuicSpdyStream *CreateIncomingStream(PendingStream *pending) override;
6565
QuicSpdyStream *CreateOutgoingBidirectionalStream() override;
66-
Http3ServerStream *CreateOutgoingUnidirectionalStream() override;
6766

6867
// QuicServerSessionBaseMethod:
6968
std::unique_ptr<QuicCryptoServerStreamBase> CreateQuicCryptoServerStream(

0 commit comments

Comments
 (0)