Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.4
-
None
-
Patch Available
Description
Currently, THttpClient attempts to send an HTTP request on Flush(). It also waits for the response in this method. In case of a successful web request, the output stream(send) is reset. In case of a transport error, the send buffer is retained, causing the next web request to contain the data that was previously sent.
The fix is pretty simple. I am attaching a patch.
Attachments
Attachments
Issue Links
- relates to
-
THRIFT-616 Transport should be reset on error
- Open
-
THRIFT-4564 TBufferedTransport can leave corrupt data in the buffer
- Closed