Erik Dubbelboer
80e3281747
fasthttpproxy: scope proxy auth cache to GetDialFunc ( #2144 )
...
Move auth cache from package-level to GetDialFunc lifetime to prevent
leaks.
2026-02-20 22:53:25 +01:00
Erik Dubbelboer
1b8c5593da
Fix named return bugs
...
The new golangci-lint doesn't allow empty return statements anymore.
But returning a specific value with named return variables actually assigns it to the variable.
See: https://go.dev/play/p/kNhVx2scGx5
This caused a bug here: https://github.com/valyala/fasthttp/issues/2090
2025-10-23 23:47:40 +02:00
Erik Dubbelboer
0ad54a45d9
Update lint and fix new lint errors
2025-09-28 02:59:00 +02:00
Erik Dubbelboer
4d25421ae5
Drop Go 1.23 support ( #2065 )
...
The Go team doesn't support this version anymore. This is required to
update our golang.org/x/... dependencies.
2025-09-10 22:16:01 +02:00
Erik Dubbelboer
4891fc5304
Update golangci-lint to v2 ( #1980 )
2025-03-25 06:40:55 +01:00
newacorn
6ed7f6bbf7
Add a multifunctional Dialer struct. ( #1829 )
...
Add a multifunctional `Dialer` struct and reimplement the function API
Reimplement the existing function interfaces of the fasthttpproxy package through Dialer. Refactor Dialer.GetDialFunc to ensure that its performance is comparable to the original function interfaces when the proxy does not change with the request address.
2024-08-24 12:46:01 +02:00