<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>27459</bug_id>
          
          <creation_ts>2009-07-20 13:01:04 -0700</creation_ts>
          <short_desc>Implement the WebSocket protocol in WebCore</short_desc>
          <delta_ts>2009-11-12 20:56:16 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremy Orlow">jorlow</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>arv</cc>
    
    <cc>jmalonzo</cc>
    
    <cc>jorlow</cc>
    
    <cc>keishi</cc>
    
    <cc>sam</cc>
    
    <cc>ukai</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>133203</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2009-07-20 13:01:04 -0700</bug_when>
    <thetext>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:
&quot;&quot;&quot;
The most interesting aspect of WebSockets implementation, and one that I didn&apos;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&apos;ll actually need a new
cross-platform HTTP implementation for these.
&quot;&quot;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133364</commentid>
    <comment_count>1</comment_count>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-07-20 22:00:25 -0700</bug_when>
    <thetext>To support Web Sockets implementation, we&apos;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&apos;m implementing Web Sockets on WebKit/Gtk with using g_io_channel functions, although I&apos;m not addressed on proxy, TLS/SSL, authentication and cookies in Web Sockets.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163202</commentid>
    <comment_count>2</comment_count>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-11-12 20:56:16 -0800</bug_when>
    <thetext>I believe WebSocket protocol was already implemented in WebCore.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>