Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
fixup! quic: use UDP code from dgram
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Oct 11, 2019
1 parent 4de6721 commit 7b1bef2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/node_quic_socket.cc
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ void QuicSocket::OnAfterBind() {

CHECK_EQ(udp_->GetSockName(addr, &addrlen), 0);
local_address_.Copy(addr);
Debug(this, "Socket bound\n");
Debug(this, "Socket bound");

socket_stats_.bound_at = uv_hrtime();
}
Expand Down Expand Up @@ -512,6 +512,7 @@ bool QuicSocket::SendRetry(
tokenlen);
if (nwrite <= 0)
return false;
buf.Realloc(nwrite);
return Send(addr, std::move(buf), "retry") == 0;
}

Expand Down

0 comments on commit 7b1bef2

Please sign in to comment.