You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Allen George (JIRA)" <ji...@apache.org> on 2017/12/11 16:14:00 UTC
[jira] [Commented] (THRIFT-4419) Rust framed transport cannot
handle writes above 4096 bytes
[ https://issues.apache.org/jira/browse/THRIFT-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16286106#comment-16286106 ]
Allen George commented on THRIFT-4419:
--------------------------------------
Note: this happens because the rust framed transport has a fixed-size 4096 buffer instead of a growable buffer.
> Rust framed transport cannot handle writes above 4096 bytes
> -----------------------------------------------------------
>
> Key: THRIFT-4419
> URL: https://issues.apache.org/jira/browse/THRIFT-4419
> Project: Thrift
> Issue Type: Bug
> Components: Rust - Library
> Reporter: Allen George
> Assignee: Allen George
> Priority: Critical
>
> Related to THRIFT-4390
> Description copied form there:
> While working on improving test coverage and fixing busted cross tests I reworked the cpp test client to send binary in at size 0, 1, 2, 4, 6, 16, ..., 131072 and after 4096 the rust server gave up.
> {noformat}
> 12, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128])
> WARN:thrift::server::threaded: processor completed with error: TransportError { kind: Unknown, message: "failed to write whole buffer" }
> Server process is successfully killed.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)