You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ruediger Pluem <rp...@apache.org> on 2009/03/23 17:45:08 UTC

Improving mod_ssls name based virtual host behaviour in the SNI case

It turned out that changing the c->base_server in the SNI callback has some
flaws. So the following patch stores the correct server_rec in the connection
record configuration and adjusts the remaining part of mod_ssl to use this
server_rec instead of c->base_server.
This way mod_ssl should get real named based virtual host aware in the SNI case.

Regards

RĂ¼diger

Re: Improving mod_ssls name based virtual host behaviour in the SNI case

Posted by Joe Orton <jo...@redhat.com>.
On Mon, Mar 23, 2009 at 05:45:08PM +0100, Ruediger Pluem wrote:
> It turned out that changing the c->base_server in the SNI callback has some
> flaws. So the following patch stores the correct server_rec in the connection
> record configuration and adjusts the remaining part of mod_ssl to use this
> server_rec instead of c->base_server.
> This way mod_ssl should get real named based virtual host aware in the SNI case.

Looks good to me.

Regards, Joe