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

Issue 9837122: Reset accept_callback_ before calling it from TCPServerSocket. (Closed)

Created:
8 years, 9 months ago by Sergey Ulanov
Modified:
8 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, James Hawkins, Mallinath (Gone from Chromium)
Visibility:
Public.

Description

Reset accept_callback_ before calling it from TCPServerSocket. TCPServerSocket worked properly before, but then it was broken by r112863. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=130008

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M net/socket/tcp_server_socket_libevent.cc View 1 chunk +2 lines, -1 line 3 comments Download
M net/socket/tcp_server_socket_win.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Sergey Ulanov
8 years, 9 months ago (2012-03-28 21:07:45 UTC) #1
James Hawkins
http://codereview.chromium.org/9837122/diff/1/net/socket/tcp_server_socket_libevent.cc File net/socket/tcp_server_socket_libevent.cc (right): http://codereview.chromium.org/9837122/diff/1/net/socket/tcp_server_socket_libevent.cc#newcode190 net/socket/tcp_server_socket_libevent.cc:190: CompletionCallback callback = accept_callback_; accept_callback_.Reset().Run(result);
8 years, 9 months ago (2012-03-28 23:25:22 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/9837122/diff/1/net/socket/tcp_server_socket_libevent.cc File net/socket/tcp_server_socket_libevent.cc (right): http://codereview.chromium.org/9837122/diff/1/net/socket/tcp_server_socket_libevent.cc#newcode190 net/socket/tcp_server_socket_libevent.cc:190: CompletionCallback callback = accept_callback_; On 2012/03/28 23:25:22, James Hawkins ...
8 years, 9 months ago (2012-03-29 00:05:38 UTC) #3
Sergey Ulanov
+wtc Wan-Teh, Can you please review this CL? It's rather small, shouldn't take more than ...
8 years, 8 months ago (2012-03-30 17:23:36 UTC) #4
wtc
LGTM. Thanks.
8 years, 8 months ago (2012-03-30 20:22:00 UTC) #5
James Hawkins
LGTM. I'll look for the Reset().Run() thing. http://codereview.chromium.org/9837122/diff/1/net/socket/tcp_server_socket_libevent.cc File net/socket/tcp_server_socket_libevent.cc (right): http://codereview.chromium.org/9837122/diff/1/net/socket/tcp_server_socket_libevent.cc#newcode190 net/socket/tcp_server_socket_libevent.cc:190: CompletionCallback callback ...
8 years, 8 months ago (2012-03-30 20:25:01 UTC) #6
wtc
I also checked http://codereview.chromium.org/8824006 to ensure that the other callbacks were converted correctly.
8 years, 8 months ago (2012-03-30 20:32:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/9837122/1
8 years, 8 months ago (2012-03-30 20:35:09 UTC) #8
cbentzel
On Fri, Mar 30, 2012 at 4:25 PM, <jhawkins@chromium.org> wrote: > LGTM. I'll look for ...
8 years, 8 months ago (2012-03-30 21:11:43 UTC) #9
commit-bot: I haz the power
List of reviewers changed. cbentzel@chromium.org did a drive-by without LGTM'ing!
8 years, 8 months ago (2012-03-31 00:33:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/9837122/1
8 years, 8 months ago (2012-03-31 00:34:57 UTC) #11
cbentzel
8 years, 8 months ago (2012-03-31 01:31:22 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698