go-libp2p
go-libp2p copied to clipboard
feat: support forwarded headers for websocket
Fixes https://github.com/libp2p/go-libp2p/issues/1437 Also https://github.com/ipfs/kubo/issues/8193
Avoid connection limit issues when there is an ipfs websocket behind a proxy. Kubo Log:
DEBUG upgrader upgrader/listener.go:99 resource manager blocked accept of new connection {"error": "connections per ip limit exceeded for /ip4/10.42.111.111/tcp/38108/ws"}