0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-06 22:40:31 -05:00
caddy/modules/caddyhttp/reverseproxy
Alban Lecocq d4a7d89f56
reverseproxy: Improve hostByHashing distribution (#5229)
* If upstreams are all using same host but with different ports
ie:
foobar:4001
foobar:4002
foobar:4003
...
Because fnv-1a has not a good enough avalanche effect
Then the hostByHashing result is not well balanced over
all upstreams

As last byte FNV input tend to affect few bits, the idea is to change
the concatenation order between the key and the upstream strings
So the upstream last byte have more impact on hash diffusion
2022-12-05 11:28:12 -07:00
..
fastcgi caddytest: Revise sleep durations 2022-10-05 11:40:41 -06:00
forwardauth forwardauth: Canonicalize header fields (fix #5038) (#5097) 2022-10-05 01:37:01 -04:00
addresses.go
admin.go
ascii.go
ascii_test.go
caddyfile.go reverseproxy: Parse humanized byte size (fix #5095) 2022-09-29 12:37:06 -06:00
command.go reverseproxy: fix upstream scheme handling in command (#5088) 2022-09-27 13:03:30 -06:00
copyresponse.go
healthchecks.go Clarify some docs 2022-11-30 16:03:31 -07:00
hosts.go
httptransport.go core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00
metrics.go
reverseproxy.go Fix comment 2022-09-29 12:38:36 -06:00
selectionpolicies.go reverseproxy: Improve hostByHashing distribution (#5229) 2022-12-05 11:28:12 -07:00
selectionpolicies_test.go reverseproxy: Improve hostByHashing distribution (#5229) 2022-12-05 11:28:12 -07:00
streaming.go reverseproxy: Mask the WS close message when we're the client (#5199) 2022-11-14 09:38:02 -07:00
streaming_test.go
upstreams.go core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00