facebook / facebook/proxygen

QPACK streams created regardless of max dynamic table size 0

Đang mở
#548 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
C++
Star
8.4k
Fork
1.5k
Merge trung bình
10 phút
Pull request đã merge (30 ngày)
2

Mô tả

ran across this while experimenting with webtransport streams connecting the relay server in the moxygen project.

when connecting to a moxygen/proxygen server via HTTP3 at session start, i am observing the generation of 2 QPACK streams. apparently this occurs regardless of whether a SETTINGS frame has been sent or whether the SETTINGS_QPACK_MAX_TABLE_CAPACITY is set to 0 (the default). in cases where header compression is not needed/expected then these streams don't need to be created.

debug output show the quic stream creation

`INFO:__main__:H3 connection initialized
INFO:quic:[c33573459ee6dd96] ALPN negotiated protocol h3
INFO:__main__:QUIC EVENT: stream: unknown event: HandshakeCompleted(alpn_protocol='h3', early_data_accepted=False, session_resumed=False)
INFO:__main__:Transmitting data
DEBUG:quic:[c33573459ee6dd96] Stream 3 created by peer
DEBUG:quic:[c33573459ee6dd96] Stream 7 created by peer
DEBUG:quic:[c33573459ee6dd96] Stream 11 created by peer
INFO:__main__:QUIC EVENT: stream: unknown event: ConnectionIdIssued(connection_id=b'\x01\x0c?\xa65\x84m\x80')
INFO:__main__:QUIC EVENT: stream: 3 event: StreamDataReceived(data=b'\x00\x04%\x01P\x00\x06\x80\x02\x00\x00\x07@d\x08\x01\x80\xff\xd2w\x01Bv\x013\x01\xab`7B\x01!\xc0\x00\x00\x00\xfa\xce\xb0\x0c', end_stream=False, stream_id=3)
INFO:__main__:QUIC EVENT: stream: 3 raw data: 0x0004250150000680020000074064080180ffd277014276013301ab6037420121c0000000faceb00c
INFO:__main__:QUIC EVENT: stream: 7 event: StreamDataReceived(data=b'\x02', end_stream=False, stream_id=7)
INFO:__main__:QUIC EVENT: stream: 7 raw data: 0x02
INFO:__main__:QUIC EVENT: stream: 11 event: StreamDataReceived(data=b'\x03', end_stream=False, stream_id=11)
INFO:__main__:QUIC EVENT: stream: 11 raw data: 0x03

--- [rfc9204 ](https://datatracker.ietf.org/doc/rfc9204/)---
3.2. Dynamic Table
4.2. Encoder and Decoder Streams
5. Configuration

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.