Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! quic: address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Apr 9, 2023
1 parent 993ddb7 commit 82c043e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/quic/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ bool SetOption(Environment* env,
if (!lossless) {
Utf8Value label(env->isolate(), name);
THROW_ERR_OUT_OF_RANGE(
env,
("options." + label.ToString() + " is out of range").c_str());
env, ("options." + label.ToString() + " is out of range").c_str());
return false;
}
} else {
Expand Down
4 changes: 2 additions & 2 deletions src/quic/transportparams.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class TransportParams final {
// address and port that the server would prefer the client to use when
// communicating with it. See the QUIC specification for more detail on how
// the preferred address mechanism works.
std::optional<SocketAddress> preferred_address_ipv4 {};
std::optional<SocketAddress> preferred_address_ipv6 {};
std::optional<SocketAddress> preferred_address_ipv4{};
std::optional<SocketAddress> preferred_address_ipv6{};

// The initial size of the flow control window of locally initiated streams.
// This is the maximum number of bytes that the *remote* endpoint can send
Expand Down

0 comments on commit 82c043e

Please sign in to comment.