Karl Janke created THRIFT-5246:
----------------------------------
Summary: Connection aborted when using buffer size != 1024
Key: THRIFT-5246
URL: https://issues.apache.org/jira/browse/THRIFT-5246
Project: Thrift
Issue Type: Bug
Components: netstd - Library
Affects Versions: 0.13.0
Reporter: Karl Janke
When creating a TBufferedTransport with a size not equal to 1024 the ReadBuffer
and WriteBuffer capacity are set.
The TMemoryBufferTransport.Capacity setter sets _bytesUsed (Length) to the
provided value
When TBufferedTransport.WriteAsync is entered the free space in the buffer is
calculated to be 0 and the whole empty buffer is sent on the wire
This doesn't look to be such an issue in master as
TMemoryBufferTransport.Capacity is no longer used to adjust buffer size
(constructor used instead). However the bug in Capacity setter still lurks
--
This message was sent by Atlassian Jira
(v8.3.4#803005)