caddyserver / caddy

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
https://caddyserver.com
Apache License 2.0
55.48k stars 3.91k forks source link

reverse_proxy: apply keep-alive setting for h2c requests #6343

Open WeidiDeng opened 1 month ago

WeidiDeng commented 1 month ago

Fix 6342.

mholt commented 1 month ago

Thanks Weidi! As I understand it, this depends on an upstream patch first?

WeidiDeng commented 1 month ago

Yes, or else h2c will stop working if keep alive is disabled. For now it's buggy behaviour, but it works 🤷 .

WeidiDeng commented 2 weeks ago

Just wait for the release of golang/x/net. It's fixed in the master.

mholt commented 2 weeks ago

Great! Will do :smile: