]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: add meta_hash to connection, eliminate hash_offt
authorStefan Eissing <stefan@eissing.org>
Fri, 18 Apr 2025 09:03:29 +0000 (11:03 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Apr 2025 13:57:18 +0000 (15:57 +0200)
commit657aae79c04c9440b656c86daf11b38dc553d718
treec0c04d6a46b209b872dec350486dd0a23dec7a51
parent1d66a769d7b2c82e9f6942ab1fa56cd2c5385067
lib: add meta_hash to connection, eliminate hash_offt

With a meta_hash at each connection (similar to easy handle, let
multi_ev.c store its pollsets as meta data, no longer needing its own
hashes.

This eliminates the last use of Curl_hash_offt. Remove it.

Closes #17095
18 files changed:
docs/internals/HASH.md
docs/internals/UINT_SETS.md
lib/Makefile.inc
lib/doh.c
lib/easy.c
lib/http2.c
lib/multi_ev.c
lib/multi_ev.h
lib/uint-hash.c [moved from lib/hash_offt.c with 55% similarity]
lib/uint-hash.h [moved from lib/hash_offt.h with 70% similarity]
lib/url.c
lib/url.h
lib/urldata.h
lib/vquic/curl_msh3.c
lib/vquic/curl_ngtcp2.c
lib/vquic/curl_quiche.c
tests/data/test1616
tests/unit/unit1616.c