Updated README

This commit is contained in:
Tatsuhiro Tsujikawa 2012-01-30 00:39:32 +09:00
parent 641443f6c5
commit e6506b4206
1 changed files with 14 additions and 19 deletions

View File

@ -4,38 +4,33 @@ Spdylay - SPDY C Library
This is an experimental implementation of Google's SPDY protocol This is an experimental implementation of Google's SPDY protocol
version 2 in C. version 2 in C.
The current status of development is in very early stage. But The current status of development is in very early stage. But there
``spdycl`` in *examples* directory can connect to SPDY-capable server is a demo program ``spdycat`` in *examples* directory, which can
via SSL and select spdy/2 with NPN and get a resource given in connect to SPDY-capable server via SSL and select spdy/2 with NPN and
command-line:: get a resource given in the command-line::
$ ./spdycl www.google.com 443 / $ ./spdycat -d https://www.google.com/
NPN select next proto: server offers: NPN select next proto: server offers:
* spdy/2 * spdy/2
* http/1.1 * http/1.1
send SYN_STREAM frame (stream_id=1, flags=1, length=65) send SYN_STREAM frame (stream_id=1, flags=1, length=83)
method: GET method: GET
scheme: https scheme: https
url: / url: /
user-agent: spdylay/0.0.0
version: HTTP/1.1 version: HTTP/1.1
recv SYN_REPLY frame (stream_id=1, flags=0, length=576) recv SYN_REPLY frame (stream_id=1, flags=0, length=579)
cache-control: private, max-age=0 cache-control: private, max-age=0
content-type: text/html; charset=ISO-8859-1 content-type: text/html; charset=ISO-8859-1
date: Fri, 27 Jan 2012 18:53:12 GMT date: Sun, 29 Jan 2012 15:36:57 GMT
expires: -1 expires: -1
server: gws server: gws
set-cookie: (INTENTIONALLY HIDDEN)
status: 200 OK status: 200 OK
version: HTTP/1.1 version: HTTP/1.1
x-frame-options: SAMEORIGIN x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block x-xss-protection: 1; mode=block
recv DATA frame (stream_id=1, flags=0, length=4096) recv DATA frame (stream_id=1, flags=0, length=4096)
recv DATA frame (stream_id=1, flags=0, length=3310) recv DATA frame (stream_id=1, flags=0, length=2419)
recv DATA frame (stream_id=1, flags=0, length=4096) recv DATA frame (stream_id=1, flags=0, length=4096)
recv DATA frame (stream_id=1, flags=0, length=4096) recv DATA frame (stream_id=1, flags=1, length=3167)
recv DATA frame (stream_id=1, flags=0, length=4096) send GOAWAY frame (last_good_stream_id=0)
recv DATA frame (stream_id=1, flags=0, length=4096)
recv DATA frame (stream_id=1, flags=0, length=4096)
recv DATA frame (stream_id=1, flags=0, length=1188)
recv DATA frame (stream_id=1, flags=0, length=4096)
recv DATA frame (stream_id=1, flags=1, length=1514)