Some of my users have a very slow network < 10Mbit/s.
curl -o /dev/null http://domain.name/10G.dat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 682M 0 5580k 0 0 552k 0 0:21:05 0:00:10 0:20:55 633k
curl -o /dev/null http://domain.name/10G.dat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
4 682M 4 28.7M 0 0 1166k 0 0:09:59 0:00:25 0:09:34 246k
Firefox (FF) uses zrok's private socks5 proxy via socks5://localhost:9191. Tests show that zrok makes about 30 tcp connections/router. Apparently FF asks him to do so.
Having 7 routers a user gets 210 established connections on his linux pc.
Is it bad? And if there are any problems how we can decrease this number.
FF has a parameter network.http.max-persistent-connections-per-proxy=32. I dont see any effects of this parameter. FF create about 30 connections to zrok.
But on a different machine zrok has only 2 connections/router with the same number of connections created by FF.
On the share side I have a lot of similar messages:
May 03 08:02:25 {"file":"/__w/zrok/zrok/endpoints/socks/socks5.go:117","func":"github.com/openziti/zrok/endpoints/socks.(*Server).Serve.func1","level":"info","msg":"client connection failed: could not read packet header","time":"2025-05-03T08:02:25.291Z"}