Skip to content

Commit

Permalink
Gracefully terminate hq when a connect error happens
Browse files Browse the repository at this point in the history
Summary: As title. The LOG(FATAL) on connect error is not necessary.

Reviewed By: kvtsoy

Differential Revision: D57444534

fbshipit-source-id: a24a17b294ad1339ed6d498be793870e62142e91
  • Loading branch information
jbeshay authored and facebook-github-bot committed May 20, 2024
1 parent 872b89d commit 36a1f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxygen/httpserver/samples/hq/HQClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class HQClient : private quic::QuicSocket::ConnectionSetupCallback {
}

void connectError(quic::QuicError error) override {
LOG(FATAL) << "unreachable";
client_.connectError(error);
}

private:
Expand Down

0 comments on commit 36a1f9b

Please sign in to comment.