Summary: | www-servers/apache: add ALPN (was NPN) patch from upstream to mod_ssl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | agraf, candrews, djc, flyser42, leho, mail, mys721tx, proxy-maint, slyfox, tb |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://issues.apache.org/bugzilla/show_bug.cgi?id=52210 | ||
See Also: | https://issues.apache.org/bugzilla/show_bug.cgi?id=52210 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 412451, 471592 | ||
Attachments: |
Adds Next Protocol Negotiation to mod_ssl (apache 2.4)
Adds Next Protocol Negotiation to mod_ssl (apache 2.2) |
Description
SpanKY
![]() in case it helps, the mod_spdy guys maintain a patch that works fine against 2.2.24: https://code.google.com/p/mod-spdy/source/browse/trunk/src/scripts/mod_ssl_with_npn.patch Created attachment 355168 [details, diff]
Adds Next Protocol Negotiation to mod_ssl (apache 2.4)
I've created to patches (for apache2.2 and apache2.4 respectively) which work fine in my setup. I've also fixed a small error in protocol negotiation.
The patches could be included into the gentoo-apache-2.x.tar.bz2 as
patches/05_all_mod_ssl_npn.patch
Created attachment 355170 [details, diff]
Adds Next Protocol Negotiation to mod_ssl (apache 2.2)
sorry, I forgot to mention. the error in advertisement string generation is this one: https://issues.apache.org/bugzilla/show_bug.cgi?id=55356 repurposing here since NPN has since been sunset in favor of ALPN apache has merged ALPN into trunk's mod_ssl, but not the 2.4 branch (no idea why). the mod_h2 project (which replaces mod_spdy) maintains a small patch for it here: https://github.com/icing/mod_h2/tree/master/sandbox/httpd/patches only need the httpd-alpn-unified.diff.patch file should be all set now in the tree; thanks for the report! Commit message: Add ALPN support via USE=alpn http://sources.gentoo.org/www-servers/apache/apache-2.4.12-r1.ebuild?rev=1.1 http://sources.gentoo.org/www-servers/apache/files/apache-2.4.12-alpn.patch?rev=1.1 http://sources.gentoo.org/www-servers/apache/metadata.xml?r1=1.18&r2=1.19 |