James E. King III created THRIFT-4714: -----------------------------------------
Summary: Java TFramedTransport calls write twice for each flush Key: THRIFT-4714 URL: https://issues.apache.org/jira/browse/THRIFT-4714 Project: Thrift Issue Type: Improvement Components: Java - Library Affects Versions: 0.12.0 Reporter: James E. King III Assignee: James E. King III Based on THRIFT-1121 and THRIFT-959 this may have been an issue for a long time. The fix was easy however. We make room for the frame size before writing to the buffer, then we only have to pull out the buffer, drop the frame size into the 4 bytes we pre-allocated, and write to the underlying transport once. -- This message was sent by Atlassian JIRA (v7.6.3#76005)