upstream apache has added NPN to mod_ssl. can we backport this to the 2.2.x and 2.4.x releases ? mod_spdy needs it to work properly.
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