samuong / alpaca

A local HTTP proxy for command-line tools. Supports PAC scripts and NTLM authentication.
Apache License 2.0
184 stars 31 forks source link

Run proxy finder function and add result to request context #74

Closed samuong closed 2 years ago

samuong commented 2 years ago

This lets us run the proxy resolution code only once, even if we have to perform multiple requests (e.g. for authentication).

samuong commented 2 years ago

I think this happened when I merged the previous PR and then deleted the branch for that PR. That changed the base branch for this PR, leading to the extra commit you saw. I've undeleted that branch for now, and re-set the base commit for this PR, and it looks like it's ok now.