tun2: fixup

This commit is contained in:
Cadey Ratio 2017-09-30 11:05:31 -07:00
parent 930d16a1a2
commit e8cf973208
No known key found for this signature in database
GPG Key ID: D607EE27C2E7F89A
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) {
ProtoMajor: req.ProtoMajor,
ProtoMinor: req.ProtoMinor,
Header: reshdr,
ContentLength: len(resbody),
ContentLength: int64(len(resbody)),
Close: true,
Request: req,
}