httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <poir...@pobox.com>
Subject Better error message for SSL connection on non-SSL port
Date Thu, 29 Jan 2009 17:12:44 GMT
I've proposed a patch for trunk at

https://issues.apache.org/bugzilla/show_bug.cgi?id=46123

that spots an attempted SSL connection on a non-SSL port and gives a
more useful message than "Invalid method in request".  It looks to see
if the first couple of bytes look like an SSL handshake, and logs
instead "Invalid method in request %s - possible attempt to establish
SSL connection on non-SSL port".

I'm interested in comments - does this seem useful?  Is this the best
way to go about it?

Thanks.

-- 
Dan Poirier <poirier@pobox.com>

Mime
View raw message