diff options
author | Francis Lavoie <lavofr@gmail.com> | 2022-04-11 14:49:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-11 12:49:56 -0600 |
commit | e4ce40f8ff0424054045de2461fc7228c66f3c61 (patch) | |
tree | 0e1ea3df9d240c52b5819c5881bbb45af7d0354f /modules/caddyhttp/rewrite/rewrite.go | |
parent | afca2421112eb89e435888f50f8146364a3c60a4 (diff) |
reverseproxy: Sync up `handleUpgradeResponse` with stdlib (#4664)
* reverseproxy: Sync up `handleUpgradeResponse` with stdlib
I had left this as a TODO for when we bump to minimum 1.17, but I should've realized it was under `internal` so it couldn't be used directly.
Copied the functions we needed for parity. Hopefully this is ok!
* Add tests and fix godoc comments
Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
Diffstat (limited to 'modules/caddyhttp/rewrite/rewrite.go')
0 files changed, 0 insertions, 0 deletions