Open tiaras12 opened 1 year ago
https://github.com/elazarl/goproxy/blob/3ec07828be7ac4d84b1561216ae707dc12b2739a/proxy.go#L99-L108
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
https://github.com/elazarl/goproxy/blob/3ec07828be7ac4d84b1561216ae707dc12b2739a/proxy.go#L99-L108
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