Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quiche: use max header size configured in HCM #15912
quiche: use max header size configured in HCM #15912
Changes from 59 commits
bb02ae6
09fc660
6ed3c94
186a69d
66dbde0
d5cbd00
cf08311
97a3033
e00fd2b
5682791
96c587e
725d93e
354a322
2b94626
77cb937
4e9e56a
88398b8
5c11723
39e3f9a
4c2b490
97292b2
fdc6189
280fc25
3c02978
c31225b
e1fd5d7
2dd1ae5
60015bf
55da362
71eb14c
4c45c9f
8da2e26
852a392
ec6a58c
cf32e9d
dd14732
8730535
f423074
87cd212
6c48a12
59322e6
669ef78
0396a8f
fecd6ba
75e85ce
dbac8ea
1b9a3b2
836a6e8
a8297cb
885a7b9
7953bc8
95561c4
6eefb38
96aad88
f929456
6c38879
7b29d70
b6e3ace
09aca06
5d77b16
5d4469a
42c08af
1677acc
0651906
55fd7b3
874a4b0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we call quic_session.Initialize in QuicHttpClientConnectionImpl's constructor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we could. But explicitly call Initialize() is more consistent with QUICHE code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, quic_session has already been created before this function is called, so the initialize is already far away from the constructor. Your call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it valid to get here when initialized_ is false? Should we try harder to ensure that Initialize() is called?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is possible when a filter wants to close it upon creation which happens before Initialize(). I added a unit test for that case. If we forget to call Initialize(), QUICHE code will omit tons of errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you comment on why we need these, and when to use them instead of QuicSession::connection()?
Same in EnvoyQuicServerSession.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.