Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3076)

Unified Diff: net/udp/udp_socket_win.cc

Issue 2002713003: QUIC - Pass remote_address_ if address is not specified in UDPSocketWin::Write() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reverted CL - 1999893002 Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_stream_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/udp_socket_win.cc
diff --git a/net/udp/udp_socket_win.cc b/net/udp/udp_socket_win.cc
index ca1ffb9e293aa71a4c4f5767d2b6f0837c7e8f45..a3f31c31e9dcb25e16f6c3c0adde6712c6de2a2c 100644
--- a/net/udp/udp_socket_win.cc
+++ b/net/udp/udp_socket_win.cc
@@ -392,7 +392,7 @@ int UDPSocketWin::RecvFrom(IOBuffer* buf,
int UDPSocketWin::Write(IOBuffer* buf,
int buf_len,
const CompletionCallback& callback) {
- return SendToOrWrite(buf, buf_len, NULL, callback);
+ return SendToOrWrite(buf, buf_len, remote_address_.get(), callback);
}
int UDPSocketWin::SendTo(IOBuffer* buf,
« no previous file with comments | « net/quic/quic_stream_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698