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
// That's why tests that checks "Connection: close" removal fail
ifr.Header.Get("Connection") =="close" {
r.Close=false
}
r.Header.Del("Connection")
It seems that req.Close should set to true when the "Connection" header contains "close" according the comment above.
However, in the above snippet, r.Close is being set to false. Is this a typo or I misunderstanding it
The text was updated successfully, but these errors were encountered:
goproxy/proxy.go
Lines 99 to 108 in 3ec0782
It seems that req.Close should set to true when the "Connection" header contains "close" according the comment above.
However, in the above snippet, r.Close is being set to false. Is this a typo or I misunderstanding it
The text was updated successfully, but these errors were encountered: