On 15/12/2023 14:51, Christopher Schultz wrote:

<snip/>

I replied on users@ about this. Is ASCII-comparison sufficient?

I believe so, yes.

Could we speed things up dramatically by performing a byte-wise comparison first, and only fall-back to (slower) case-insensitive comparison if that fails? My guess is that most clients will be sending byte-equals request-line and Host headers.

I'm expecting that the host isn't even in most request lines.

We could implement this optimization if required.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to