Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
THRIFT-5324: Create new req buffer for every http request
Client: go The fix in #2293 doesn't work for go1.10.8 due to the possibility of data races. This exposes a bigger, underlying issue regarding the ownership of the request buffer in THttpClient between THttpClient itself and the http request it creates. Instead of reset and reuse the same buffer, always give up the ownership of it and create a new buffer after each Flush call.
- Loading branch information