third_party_nghttp2/README.rst

37 lines
1.3 KiB
ReStructuredText
Raw Normal View History

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