Ruby Issue Tracking System: Issueshttps://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112014-01-10T16:30:59ZRuby Issue Tracking System
Redmine Ruby master - Feature #9390 (Closed): Support for the ALPN TLS extensionhttps://bugs.ruby-lang.org/issues/93902014-01-10T16:30:59Zigrigorik (Ilya Grigorik)igrigorik@gmail.com
<p>ALPN [1] is a successor [2] to NPN, support for which was added in 2.0.0 [3].</p>
<p>HTTP/2 [4] is using ALPN to negotiate protocol support, and the spec is moving fast -- it'd be great to have ALPN support in one of the upcoming Ruby releases. Current status of ALPN support in various TLS libraries and languages: <a href="https://github.com/http2/http2-spec/wiki/ALPN-Status" class="external">https://github.com/http2/http2-spec/wiki/ALPN-Status</a>.</p>
<p>As a side note, for anyone interested, I have an implementation of draft-06 http/2 spec: <a href="https://github.com/igrigorik/http-2" class="external">https://github.com/igrigorik/http-2</a></p>
<p>[1] <a href="http://tools.ietf.org/html/draft-friedl-tls-applayerprotoneg-02" class="external">http://tools.ietf.org/html/draft-friedl-tls-applayerprotoneg-02</a><br>
[2] <a href="https://www.imperialviolet.org/2013/03/20/alpn.html" class="external">https://www.imperialviolet.org/2013/03/20/alpn.html</a><br>
[3] <a href="https://bugs.ruby-lang.org/issues/6503" class="external">https://bugs.ruby-lang.org/issues/6503</a><br>
[4] <a href="http://tools.ietf.org/html/draft-ietf-httpbis-http2-00" class="external">http://tools.ietf.org/html/draft-ietf-httpbis-http2-00</a></p> Backport193 - Backport #6516 (Closed): Backport Zlib::Inflate#set_dictionary API fixhttps://bugs.ruby-lang.org/issues/65162012-05-30T14:14:38Zigrigorik (Ilya Grigorik)igrigorik@gmail.com
<p>As <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Zlib::Inflate#set_dictionary does not work with short input (Closed)" href="https://bugs.ruby-lang.org/issues/5929">#5929</a> documented, the current API for Zlib::Inflate#set_dictionary is broken in 1.9.x. The fix has been committed by Eric but is targeted for 2.0.0 only at the moment.</p>
<p>Could we backport this to 1.9.x branch? We need dictionary support to enable SPDY without relying on other native gems.</p> Ruby master - Feature #6503 (Closed): Support for the NPN extension to TLS/SSLhttps://bugs.ruby-lang.org/issues/65032012-05-27T14:57:36Zigrigorik (Ilya Grigorik)igrigorik@gmail.com
<p>OpenSSL 1.0.1+ added support for Next Protocol Negotiation (NPN) extensions. A couple of relevant links:</p>
<ul>
<li>Google technical note: <a href="https://technotes.googlecode.com/git/nextprotoneg.html" class="external">https://technotes.googlecode.com/git/nextprotoneg.html</a>
</li>
<li>IETF draft: <a href="http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-02" class="external">http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-02</a>
</li>
</ul>
<p>NPN allows the client to negotiate the session protocol as part of the TLS handshake (ex, "http 1.1", or "spdy/v{1,2,3}"). To support SPDY we need NPN support within OpenSSL core in Ruby. The API is already implemented in OpenSSL 1.0.1+, so it's a matter of adding support in Ruby core.</p>
<p>Sister bug for Python 3.3: <a href="http://bugs.python.org/issue14204" class="external">http://bugs.python.org/issue14204</a></p> Ruby master - Bug #4169 (Closed): Forked processes locked, won't exithttps://bugs.ruby-lang.org/issues/41692010-12-18T15:52:47Zigrigorik (Ilya Grigorik)igrigorik@gmail.com
<p>=begin<br>
Unfortunately can't pinpoint the exact problem, but this issue has been brought up by a number of people under 1.9.1 and 1.9.2 when running "god":<br>
<a href="https://github.com/mojombo/god/issues#issue/6" class="external">https://github.com/mojombo/god/issues#issue/6</a> - see full thread</p>
<p>Example traces of stuck process: <a href="https://gist.github.com/9ccfda78c52356e74291" class="external">https://gist.github.com/9ccfda78c52356e74291</a></p>
<p>Any other data I could provide to help identify the problem?<br>
=end</p>