[curl/curl] dddad3: conncache: lowercase the hash key for better match
Daniel Stenberg <[email protected]> Tue, 01 Jun 2021 08:56:21 -0700
| Newsgroups | gmane.comp.web.curl.cvs |
|---|---|
| Message-ID | <curl/curl/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/curl/curl
Commit: dddad339e8a56722babb5864b39a83f293f6491a
https://github.com/curl/curl/commit/dddad339e8a56722babb5864b39a83f293f6491a
Author: Daniel Stenberg <[email protected]>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M lib/conncache.c
Log Message:
-----------
conncache: lowercase the hash key for better match
As host names are case insensitive, the use of case sensitive hashing
caused unnecesary cache misses and therefore lost performance. This
lowercases the hash key.
Reported-by: Harry Sintonen
Fixes #7159
Closes #7161
_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits