tun2: fixup
This commit is contained in:
parent
930d16a1a2
commit
e8cf973208
|
@ -472,7 +472,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||||
ProtoMajor: req.ProtoMajor,
|
ProtoMajor: req.ProtoMajor,
|
||||||
ProtoMinor: req.ProtoMinor,
|
ProtoMinor: req.ProtoMinor,
|
||||||
Header: reshdr,
|
Header: reshdr,
|
||||||
ContentLength: len(resbody),
|
ContentLength: int64(len(resbody)),
|
||||||
Close: true,
|
Close: true,
|
||||||
Request: req,
|
Request: req,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue