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

Remove bare string used as context key #59

Closed samuong closed 3 years ago

samuong commented 3 years ago

Also, use sync/atomic's AddUint64() to generate IDs, which is simpler and avoids tying up a goroutine.

Fixes #17