Comments (4)
thank you @lfama for the report. Feel free to add any additional details to this ticket if you'd like too :)
@lfama had found an issue which was introduced from the community PR #776. The faulty behaviour was that the "Allow" header on 405 responses and was not properly reset in the request context between requests, which are reused via a sync.Pool -- as a result, the "Allow" header was returned and repeated multiple times to clients.
The fix is: 9dd8b4a to reset the buffer before using the context.
I've published a new release v5.0.11, https://github.com/go-chi/chi/releases/tag/v5.0.11
Thanks again @lfama 🥇
from chi.
Hi @pkieltyka, it looks like I can't DM you on X/Twitter
from chi.
@lfama I opened my DMs, can you try again?
from chi.
peterk -- github may have auto-tagged you, can you click the "unsubscribe" button? I'm not aware of any other way to untag you
from chi.
Related Issues (20)
- How to pass information back to middleware? HOT 4
- v5 response does not implement http.Hijacker HOT 2
- High CPU usage by chi.setPathValue HOT 4
- middleware.Compress should by default compress `text/xml`, `application/xml`, and arguably `text/*` HOT 3
- Special characters added to pages due to compression on v5.0.13 HOT 11
- Coraza WAF Middleware HOT 1
- weird conflict of router HOT 3
- How to write 500 status code after `basicWriter.Write` returns error?
- Not all middlewares are present in `chi.Walk` HOT 2
- Wildcard matching with regex pattern is not correctly parsing the path values HOT 1
- Chi router not invoking custom not found handler
- OpenTelemetry Middleware Proposal HOT 2
- Broken chi.URLParam return empty string HOT 1
- Sub-routers returning 404 when using `middleware.SupressNotFound` on parent router
- Middleware derived from Goji seems to be missing copyright notices HOT 7
- OpenAPI Spec Validation Feature or Guidance HOT 2
- SetWriteDeadline not supported HOT 1
- docs code parentheses are not clear HOT 1
- URL Parameter `{var...}` is not supported
- type *http.Request has no field or method SetPathValue when use tinygo build to wasm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chi.