You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
registry: access log shows status 500 when the client received 200 #5111
The access log keeps the status of the last WriteHeader call, also of a call made after the response header was sent (Gorilla's responseLogger.WriteHeader).
Example: a handler writes hello, then calls WriteHeader(500). The client gets 200. The access log shows "GET /write-then-500 HTTP/1.1" 500 5. #4937 describes a registry path that does this.
#5103 fixes this for Write and Flush. It does not fix it for a ReadFrom that returned http.ErrContentLength, but registry code cannot reach that case, with or without #5052.
Activity