Skip to content

Commit

Permalink
Do not override default alpns needlessly
Browse files Browse the repository at this point in the history
Summary: Correct defaults are set in https://fburl.com/code/v02tfl4s

Reviewed By: lhuang04

Differential Revision: D48586294

fbshipit-source-id: 78674ddc93f4d56df89fb3b8f546140828dec914
  • Loading branch information
kvtsoy authored and facebook-github-bot committed Aug 23, 2023
1 parent efb93cf commit 2a2ac80
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions proxygen/httpserver/samples/hq/HQCommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,6 @@ void initializeTransportSettings(HQToolParams& hqUberParams) {
if (!FLAGS_protocol.empty()) {
hqParams.protocol = FLAGS_protocol;
hqParams.supportedAlpns = {hqParams.protocol};
} else {
hqParams.supportedAlpns = {proxygen::kH3,
proxygen::kHQ,
proxygen::kH3FBCurrentDraft,
proxygen::kH3CurrentDraft,
proxygen::kHQCurrentDraft};
}

hqParams.transportSettings.advertisedInitialConnectionFlowControlWindow =
Expand Down

0 comments on commit 2a2ac80

Please sign in to comment.