fix(attachments): enforce upload body read deadline
This commit is contained in:
@@ -11,6 +11,10 @@ type responseWriter struct {
|
||||
status int
|
||||
}
|
||||
|
||||
func (w *responseWriter) Unwrap() http.ResponseWriter {
|
||||
return w.ResponseWriter
|
||||
}
|
||||
|
||||
func (w *responseWriter) WriteHeader(status int) {
|
||||
w.status = status
|
||||
w.ResponseWriter.WriteHeader(status)
|
||||
|
||||
Reference in New Issue
Block a user