Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v3: router: return status 501 instead of 400 on unknown method (#2220)
* router: return status 501 instead of 400 on unknown method 501 is more applicable here. * router: ensure to always release context * ctx: fix tests
- Loading branch information
1 parent
73b43cc
commit debdb8c
Showing
2 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debdb8c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.Benchmark_AcquireCtx
1874
ns/op 1568 B/op 5 allocs/op755
ns/op 1568 B/op 5 allocs/op2.48
This comment was automatically generated by workflow using github-action-benchmark.