<font face="courier new,monospace">Thanks for your job. </font><div><span style="white-space:nowrap"><font face="courier new, monospace"><br></font></span></div><div><span style="white-space:nowrap"><font face="courier new, monospace">by the way why not push this mail to spdy maillist?</font></span><font face="courier new,monospace"><br>
</font><br><div class="gmail_quote">On Fri, Jun 15, 2012 at 8:46 PM, Maxim Konovalov <span dir="ltr"><<a href="mailto:maxim@nginx.com" target="_blank">maxim@nginx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For those who don't read -devel but still want to try the patch:<br>
<br>
<a href="http://nginx.org/patches/spdy/" target="_blank">http://nginx.org/patches/spdy/</a><br>
<div class="HOEnZb"><div class="h5"><br>
-------- Original Message --------<br>
Subject: Announcing SPDY draft 2 implementation in nginx<br>
Date: Fri, 15 Jun 2012 16:40:57 +0400<br>
From: Valentin V. Bartenev <<a href="mailto:ne@vbart.ru">ne@vbart.ru</a>><br>
Reply-To: <a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
To: <a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<br>
We are pleased to announce the first beta version of SPDY draft 2<br>
module for nginx.<br>
<br>
It is currently distributed as a patch for nginx 1.3.x development<br>
version.<br>
<br>
For more information about SPDY protocol specification please check<br>
<a href="http://www.chromium.org/spdy/spdy-protocol" target="_blank">http://www.chromium.org/spdy/spdy-protocol</a><br>
<br>
Known problems and limitations of this revision:<br>
<br>
- server push is not supported;<br>
<br>
- post_action directive is not supported for SPDY connections;<br>
<br>
- rate limiting is not supported for SPDY connections;<br>
<br>
- SSL buffer is switched off.<br>
<br>
We will be working on improving SPDY support during the next few<br>
months with the goal of eventually integrating it fully into the<br>
main nginx code. Expect frequent updates about this development,<br>
and please report your experiences, and send the feedback to nginx<br>
development mailing list <a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a> (check<br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a>).<br>
<br>
Configuration and installation instructions are below.<br>
<br>
How to build nginx/spdy binary:<br>
<br>
1. Install OpenSSL 1.0.1, it's required because SPDY module uses<br>
Next Protocol Negotiation TLS extension.<br>
<br>
2. Download nginx 1.3.x tar-gzip package (check<br>
<a href="http://nginx.org/en/download.html" target="_blank">http://nginx.org/en/download.html</a>)<br>
<br>
$ wget <a href="http://nginx.org/download/nginx-1.3.1.tar.gz" target="_blank">http://nginx.org/download/nginx-1.3.1.tar.gz</a><br>
<br>
3. Unpack nginx-1.3<br>
<br>
$ tar xvfz nginx-1.3.1.tar.gz<br>
$ cd nginx-1.3.1<br>
<br>
4. Download and apply SPDY module patch<br>
<br>
$ wget <a href="http://nginx.org/patches/spdy/patch.spdy-34.txt" target="_blank">http://nginx.org/patches/spdy/patch.spdy-34.txt</a><br>
$ patch -p0 < patch.spdy-34.txt<br>
<br>
5. Configure nginx build<br>
<br>
$ ./configure --with-http_ssl_module<br>
<br>
Use --with-openssl=/path/to/openssl-1.0.1, when building OpenSSL<br>
separately and statically linking.<br>
<br>
Use --with-cc-opt and --with-ld-opt accordingly, if OpenSSL is<br>
installed as an optional library, e.g. on Mac OS X<br>
<br>
$ ./configure --with-http_ssl_module \<br>
--with-cc-opt="-I/opt/local/include" \<br>
--with-ld-opt="-L/opt/local/lib"<br>
<br>
6. Build nginx<br>
<br>
$ make<br>
<br>
<br>
To enable SPDY in nginx configuration, just add "spdy" and "ssl"<br>
parameters to the listen directive:<br>
<br>
server {<br>
listen 443 ssl spdy default_server;<br>
<br>
ssl_certificate server.crt;<br>
ssl_certificate_key server.key;<br>
<br>
...<br>
}<br>
<br>
Optional SPDY configuration directives:<br>
<br>
- spdy_recv_buffer_size - specifies the size of input buffer (per<br>
worker), 1MB by default;<br>
<br>
- spdy_max_concurrent_streams - maximum number of concurrent SPDY<br>
streams in a single connection, 100 by default;<br>
<br>
- spdy_streams_index_size - size of SPDY stream ID index, should<br>
be power of 2, default is 32;<br>
<br>
- spdy_recv_timeout - timeout when expecting more data from the<br>
client, default is 30s;<br>
<br>
- spdy_keepalive_timeout - inactivity timeout after which connection<br>
is closed, default is 3m;<br>
<br>
- spdy_headers_comp - header compression level (0 = no comp, 9 =<br>
max comp), default is 1;<br>
<br>
- spdy_headers_comp_window - size of LZ77 compression window,<br>
default is 4KB.<br>
<br>
The default values are more or less optimized for generic use,<br>
there's normally no need to tweak them.<br>
<br>
SPDY variables:<br>
<br>
- $spdy - version of SPDY protocol if the request came via SPDY<br>
(currently "2"), or empty value;<br>
<br>
- $spdy_request_priority - priority of the stream, if the request<br>
came via SPDY.<br>
<br>
<br>
Disclaimer: use this code at your own risk, it is distributed under<br>
the 2-clause BSD-like license, and at nginx we are not responsible<br>
for any negative impact or effects that the usage of this code might<br>
cause.<br>
<br>
<br>
--<br>
NGINX, Inc., <a href="http://nginx.com" target="_blank">http://nginx.com</a><br>
<br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Maxim Konovalov<br>
+7 (910) 4293178<br>
<a href="http://nginx.com/" target="_blank">http://nginx.com/</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><span style="color:rgb(102,102,102);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;background-color:rgb(255,246,237)">do not fear to be eccentric in opinion, for every opinion now accepted was once eccentric. </span></div>
<br>
</div>