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

Issue 5484001: Web2socket proxy. (Closed)

Created:
10 years ago by Denis Lagno
Modified:
9 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Yuta Kitamura, ukai, Takashi Toyoshima (Google), pfeldman, jshin+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Web2socket proxy. Proxy that listens for websocket connections, reads hostname:port, initiates new plain connection to hostname:port, and forwards all subsequent communication. BUG=chromium-os:9667 TEST=Manual

Patch Set 1 #

Patch Set 2 : clean #

Patch Set 3 : additional files #

Total comments: 24

Patch Set 4 : addressed comments and codestyle #

Patch Set 5 : squeeze #

Patch Set 6 : added command line options #

Patch Set 7 : removed check of Host field #

Patch Set 8 : fix for signed/unsigned confusion + cosmetic #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1304 lines, -1 line) Patch
M net/net.gyp View 1 2 3 4 5 6 7 1 chunk +23 lines, -0 lines 0 comments Download
A net/web2socket_proxy/web2socket.h View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
A net/web2socket_proxy/web2socket.cc View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A net/web2socket_proxy/web2socket_conn.h View 1 2 3 4 5 6 7 1 chunk +142 lines, -0 lines 0 comments Download
A net/web2socket_proxy/web2socket_conn.cc View 1 2 3 4 5 6 7 1 chunk +743 lines, -0 lines 0 comments Download
A net/web2socket_proxy/web2socket_main.cc View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A net/web2socket_proxy/web2socket_serv.h View 1 2 3 4 5 1 chunk +73 lines, -0 lines 0 comments Download
A net/web2socket_proxy/web2socket_serv.cc View 1 2 3 4 5 1 chunk +204 lines, -0 lines 0 comments Download
M third_party/libevent/chromium.patch View 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/libevent/evdns.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Nikita (slow)
Even though it's not ready yet, we should find initial reviewer.
10 years ago (2010-12-01 20:22:46 UTC) #1
Yuta Kitamura
Maybe someone from WebSocket team can help to get this patch reviewed. Note that the ...
10 years ago (2010-12-02 06:09:20 UTC) #2
Denis Lagno
CCing pfeldman@, author of net/server
10 years ago (2010-12-02 09:35:16 UTC) #3
tyoshino (SeeGerritForStatus)
Took a quick look only at WebSocket protocol processing part. http://codereview.chromium.org/5484001/diff/11001/net/web2socket_proxy/web2socket.h File net/web2socket_proxy/web2socket.h (right): http://codereview.chromium.org/5484001/diff/11001/net/web2socket_proxy/web2socket.h#newcode5 ...
10 years ago (2010-12-03 07:53:33 UTC) #4
Denis Lagno
http://codereview.chromium.org/5484001/diff/11001/net/web2socket_proxy/web2socket.h File net/web2socket_proxy/web2socket.h (right): http://codereview.chromium.org/5484001/diff/11001/net/web2socket_proxy/web2socket.h#newcode5 net/web2socket_proxy/web2socket.h:5: #ifndef CHROME_WEB2SOCKET_PROXY_WEB2SOCKET_H_ On 2010/12/03 07:53:33, tyoshino wrote: > #ifndef ...
10 years ago (2010-12-03 16:28:50 UTC) #5
tyoshino (SeeGerritForStatus)
http://codereview.chromium.org/5484001/diff/11001/net/web2socket_proxy/web2socket_conn.cc File net/web2socket_proxy/web2socket_conn.cc (right): http://codereview.chromium.org/5484001/diff/11001/net/web2socket_proxy/web2socket_conn.cc#newcode29 net/web2socket_proxy/web2socket_conn.cc:29: rv += (isascii(s[i]) && isspace(s[i])); On 2010/12/03 16:28:50, Denis ...
10 years ago (2010-12-06 10:02:51 UTC) #6
Denis Lagno
Guys, I've prepared kind of design doc for this proxy: https://docs1.google.com/a/google.com/document/d/15rubsYT_DJJ12MFcHWxCqxYCBH9zJa_yxLxWEk8lQjg/edit?hl=en# You may take a ...
10 years ago (2010-12-06 18:54:03 UTC) #7
tyoshino (SeeGerritForStatus)
On 2010/12/06 18:54:03, Denis Lagno wrote: > Guys, I've prepared kind of design doc for ...
10 years ago (2010-12-07 02:59:22 UTC) #8
Denis Lagno
Done: https://docs.google.com/document/d/1646AjOBqCFnjdSxfNAbyfLNomnYvp9Wa3R7DjJuR-Ts/edit?hl=en&authkey=CKa-ocAF
10 years ago (2010-12-08 12:44:16 UTC) #9
Sergey Ulanov
Just wondering: is this moving anywhere? Are there any alternative design proposals for raw TCP ...
9 years, 10 months ago (2011-02-10 03:53:32 UTC) #10
Denis Lagno
9 years, 10 months ago (2011-02-10 11:09:23 UTC) #11
On 2011/02/10 03:53:32, sergeyu wrote:
> Just wondering: is this moving anywhere? Are there any alternative design
> proposals for raw TCP connections?


As far as I can tell the current settlement on this topic is that if someone
wants this functionality he should spend resources on setup/administration
of proxy like that in his local/corporate network

Powered by Google App Engine
This is Rietveld 408576698