W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2008

html5/spec Overview.html,1.1037,1.1038

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 07 Jul 2008 09:18:00 +0000
To: public-html-commits@w3.org
Message-Id: <E1KFmrA-0008Vg-Pn@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv32648

Modified Files:
	Overview.html 
Log Message:
Make the Web Socket Protocol handshake more unique. (Re: websocket HTTP response parsing) (credit: pt, jr) (whatwg r1849)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1037
retrieving revision 1.1038
diff -u -d -r1.1037 -r1.1038
--- Overview.html	6 Jul 2008 00:08:58 -0000	1.1037
+++ Overview.html	7 Jul 2008 09:17:57 -0000	1.1038
@@ -59,7 +59,7 @@
     for HTML and XHTML</h2>
 
    <h2 class="no-num no-toc" id=editors0><!-- "W3C Working Draft" -->
-    Editor's Draft <!--ZZZ--> 6 July 2008</h2>
+    Editor's Draft <!--ZZZ--> 7 July 2008</h2>
 
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
@@ -207,7 +207,7 @@
 
   <p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working Group</a> is
    the W3C working group responsible for this specification's progress along
-   the W3C Recommendation track. <!--ZZZ:--> This specification is the 6 July
+   the W3C Recommendation track. <!--ZZZ:--> This specification is the 7 July
    2008 <!--ZZZ "Working Draft"-->Editor's Draft. <!--:ZZZ--></p>
   <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST -->
   <!-- relationship to other work (required) -->
@@ -41722,21 +41722,22 @@
     <p class=note>Just a CRLF (a blank line).</p>
 
    <li>
-    <p>Read the first 75 bytes from the server. If the connection closes
-     before 75 bytes are received, or if the first 75 bytes aren't exactly
+    <p>Read the first 85 bytes from the server. If the connection closes
+     before 85 bytes are received, or if the first 85 bytes aren't exactly
      equal to the following bytes, then <a href="#fail-the">fail the Web
      Socket connection</a> and abort these steps.</p>
 
-    <pre>48 54 54 50 2f 31 2e 31  20 31 30 31 20 53 77 69 
-74 63 68 69 6e 67 20 50  72 6f 74 6f 63 6f 6c 73 
-0d 0a 55 70 67 72 61 64  65 3a 20 57 65 62 53 6f 
-63 6b 65 74 0d 0a 43 6f  6e 6e 65 63 74 69 6f 6e 
-3a 20 55 70 67 72 61 64  65 0d 0a</pre>
+    <pre>48 54 54 50 2f 31 2e 31  20 31 30 31 20 57 65 62
+20 53 6f 63 6b 65 74 20  50 72 6f 74 6f 63 6f 6c
+20 48 61 6e 64 73 68 61  6b 65 0d 0a 55 70 67 72
+61 64 65 3a 20 57 65 62  53 6f 63 6b 65 74 0d 0a
+43 6f 6e 6e 65 63 74 69  6f 6e 3a 20 55 70 67 72
+61 64 65 0d 0a</pre>
 
     <p class=note>The string
-     "HTTP/1.1&nbsp;101&nbsp;Switching&nbsp;Protocols", CRLF, the string
-     "Upgrade:&nbsp;WebSocket", CRLF, the string "Connection:&nbsp;Upgrade",
-     CRLF.</p>
+     "HTTP/1.1&nbsp;101&nbsp;Web&nbsp;Socket&nbsp;Protocol&nbsp;Handshake",
+     CRLF, the string "Upgrade:&nbsp;WebSocket", CRLF, the string
+     "Connection:&nbsp;Upgrade", CRLF.</p>
 
     <p class=big-issue>What if the response is a 401 asking for credentials?</p>
 
@@ -42060,11 +42061,12 @@
   <p>Listen on a port for TCP/IP. Upon receiving a connection request, open a
    connection and send the following bytes back to the client:
 
-  <pre>48 54 54 50 2f 31 2e 31  20 31 30 31 20 53 77 69 
-74 63 68 69 6e 67 20 50  72 6f 74 6f 63 6f 6c 73 
-0d 0a 55 70 67 72 61 64  65 3a 20 57 65 62 53 6f 
-63 6b 65 74 0d 0a 43 6f  6e 6e 65 63 74 69 6f 6e 
-3a 20 55 70 67 72 61 64  65 0d 0a</pre>
+  <pre>48 54 54 50 2f 31 2e 31  20 31 30 31 20 57 65 62
+20 53 6f 63 6b 65 74 20  50 72 6f 74 6f 63 6f 6c
+20 48 61 6e 64 73 68 61  6b 65 0d 0a 55 70 67 72
+61 64 65 3a 20 57 65 62  53 6f 63 6b 65 74 0d 0a
+43 6f 6e 6e 65 63 74 69  6f 6e 3a 20 55 70 67 72
+61 64 65 0d 0a</pre>
 
   <p>Send the string "<code title="">WebSocket-Origin</code>" followed by a
    U+003A COLON (":") followed by the <a href="#ascii" title="ASCII
Received on Monday, 7 July 2008 09:18:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT