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

Issue 7185032: WebSocket over SPDY: WebSocketJob handling SpdyWebSocketStream (Closed)

Created:
9 years, 6 months ago by Takashi Toyoshima
Modified:
9 years, 5 months ago
Reviewers:
Yuta Kitamura
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Add WebSocket over SPDY experimental implementation. (Re-land with memory leak fix) - Realize WebSocketJob's internal protocol switch to SPDY using SpdyWebSocketStream - Add simple test to verify connection over SPDY BUG=42320 TEST=net_unittests --gtest_filter=WebSocketJobTest\* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91997 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92017

Patch Set 1 : add new tests for SocketStream #

Patch Set 2 : tests on two configurations #

Patch Set 3 : rebase (split socket_stream into another change) #

Patch Set 4 : rebase (split tests on two configurations) #

Patch Set 5 : add connection test #

Patch Set 6 : add spdy connection test (not finished) #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Patch Set 9 : merge spdy_websocket_test_util #

Patch Set 10 : pass spdy connection #

Patch Set 11 : ready for review #

Patch Set 12 : clean up #

Patch Set 13 : rebase #

Patch Set 14 : rebase (7312005 was committed) #

Patch Set 15 : last change cause deadlock on SocketStreamTest #

Total comments: 10

Patch Set 16 : fix points yutak reviewed #

Patch Set 17 : rebase #

Patch Set 18 : (reverted change to reproduce memory leak) #

Patch Set 19 : leak fixed (don't call AddRef) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -89 lines) Patch
M net/socket_stream/socket_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -3 lines 0 comments Download
M net/socket_stream/socket_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 13 chunks +46 lines, -24 lines 0 comments Download
M net/websockets/websocket_job.h View 5 chunks +16 lines, -1 line 0 comments Download
M net/websockets/websocket_job.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 chunks +144 lines, -38 lines 0 comments Download
M net/websockets/websocket_job_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 12 chunks +202 lines, -23 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Takashi Toyoshima
Hi, Yuta, This is the last change to achieve an experimental implementation for WSoS. After ...
9 years, 5 months ago (2011-07-07 07:38:31 UTC) #1
Takashi Toyoshima
s/request/review/
9 years, 5 months ago (2011-07-07 07:40:05 UTC) #2
Takashi Toyoshima
Willchan reviewed 7312005, so I rebase this change to make it simple. Now, this change ...
9 years, 5 months ago (2011-07-07 08:39:00 UTC) #3
Yuta Kitamura
Overall looks good. http://codereview.chromium.org/7185032/diff/19005/net/socket_stream/socket_stream.cc File net/socket_stream/socket_stream.cc (right): http://codereview.chromium.org/7185032/diff/19005/net/socket_stream/socket_stream.cc#newcode298 net/socket_stream/socket_stream.cc:298: delegate->OnError(this, result); delegate->OnError() is called after ...
9 years, 5 months ago (2011-07-08 07:40:21 UTC) #4
Takashi Toyoshima
Thank you for nice review! http://codereview.chromium.org/7185032/diff/19005/net/socket_stream/socket_stream.cc File net/socket_stream/socket_stream.cc (right): http://codereview.chromium.org/7185032/diff/19005/net/socket_stream/socket_stream.cc#newcode298 net/socket_stream/socket_stream.cc:298: delegate->OnError(this, result); Yes. It ...
9 years, 5 months ago (2011-07-08 08:35:14 UTC) #5
Yuta Kitamura
OK, LGTM.
9 years, 5 months ago (2011-07-11 07:03:27 UTC) #6
Takashi Toyoshima
Sorry, this test has a leak problem. I reopen it. http://build.chromium.org/p/chromium.memory/builders/Linux%20Tests%20%28valgrind%29%285%29/builds/630/steps/memory%20test%3A%20net/logs/stdio 03:00:01 memcheck_analyze.py [ERROR] FAIL! ...
9 years, 5 months ago (2011-07-11 12:20:12 UTC) #7
Takashi Toyoshima
Set 18 reproduce these memory leaks. Set 19 fixed them. Try on valgrind still failed, ...
9 years, 5 months ago (2011-07-11 14:32:47 UTC) #8
Yuta Kitamura
9 years, 5 months ago (2011-07-11 15:16:24 UTC) #9
LGTM, you can reland the patch anytime. Please keep an eye on the memory bots
after you land this.

Powered by Google App Engine
This is Rietveld 408576698