Commit 2e862f2
Define constant for status 499 (#1501)
* Support websocket subprotocl.
* use HTTPHeader()
* Define constant for status code 499
Defined `statusClientClosedRequest` constant in `pkg/filters/proxies/httpproxy/pool.go`
and replaced the hardcoded 499 usage with it. This addresses the TODO comment.
Co-authored-by: LokiWager <32408858+LokiWager@users.noreply.github.com>
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent a2577c8 commit 2e862f2
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
458 | 461 | | |
459 | 462 | | |
460 | 463 | | |
461 | | - | |
462 | | - | |
| 464 | + | |
463 | 465 | | |
464 | 466 | | |
465 | 467 | | |
| |||
0 commit comments