Bug 27459 - Implement the WebSocket protocol in WebCore
Summary: Implement the WebSocket protocol in WebCore
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-20 13:01 PDT by Jeremy Orlow
Modified: 2009-11-12 20:56 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Orlow 2009-07-20 13:01:04 PDT
Breaking out discussion of how the WebSocket protocol will be implemented from https://bugs.webkit.org/show_bug.cgi?id=27209

ap@webkit.org mentioned:
"""
The most interesting aspect of WebSockets implementation, and one that I didn't
see discussed yet, is what kind of back-end we need. It is not clear whether
existing HTTP back-ends for supported platforms allow for the level of control
needed for Web Sockets - it is possible that we'll actually need a new
cross-platform HTTP implementation for these.
"""
Comment 1 Fumitoshi Ukai 2009-07-20 22:00:25 PDT
To support Web Sockets implementation, we'll need raw stream socket (and proxy support and TLS/SSL socket) back-end. Web Sockets uses similar request/response message with HTTP, but it is more strict than HTTP and not so difficult to implement it on top of raw socket.  I think it would be not so easy to use existing HTTP back-ends for Web Sockets, because existing HTTP back-ends would do a lot of things than Web Sockets spec says and would not allow for the the control that required for Web Sockets frame handling.
I'm implementing Web Sockets on WebKit/Gtk with using g_io_channel functions, although I'm not addressed on proxy, TLS/SSL, authentication and cookies in Web Sockets.
Comment 2 Fumitoshi Ukai 2009-11-12 20:56:16 PST
I believe WebSocket protocol was already implemented in WebCore.