fastly / pushpin

A proxy server for adding push to your API, used at the core of Fastly's Fanout service
https://pushpin.org
Apache License 2.0
3.66k stars 153 forks source link

httpsession: prep work for supporting fetches other than next #48065

Closed jkarneges closed 2 months ago

jkarneges commented 2 months ago

This reworks the next link handling in HttpSession to make it reusable for other things in the future. It should not introduce any change in behavior. Some if(state == Proxying) conditionals are added in places where state is known/assumed to already be of that value.