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:
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
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:
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:
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