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
If I understand this correctly a defer context.Clear(req) might be needed in the ServerHTTP function in the http.go file to make sure that we do not leak memory. Or am I mistaken?
The text was updated successfully, but these errors were encountered:
You had me on my toes for a minute there, but it's actually ok. Since we're using the pat package, it uses the mux package, so everything goes through the (*mux.Router).ServeHTTP method which cleans up.
Hi, thanks for your fantastic blog posts, they really helped me get going with go.
Today I came upon this thread: https://groups.google.com/forum/?fromgroups=#!topic/gorilla-web/clJfCzenuWY
If I understand this correctly a
defer context.Clear(req)
might be needed in the ServerHTTP function in the http.go file to make sure that we do not leak memory. Or am I mistaken?The text was updated successfully, but these errors were encountered: