thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4390) Rust binary protocol and buffered transport cannot handle writes above 4096 bytes
Date Thu, 11 Jan 2018 12:40:00 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-4390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322156#comment-16322156
] 

ASF GitHub Bot commented on THRIFT-4390:
----------------------------------------

Github user allengeorge commented on the issue:

    https://github.com/apache/thrift/pull/1458
  
    @jeking3 Thank you!
    
    So...updated the PR to re-add the three failing tests. Created [THRIFT-4451](https://issues.apache.org/jira/browse/THRIFT-4451)
to track this. I'm going to fix up the framed transport first, circle back to 4451, and then
handle dart/c++ issues.


> Rust binary protocol and buffered transport cannot handle writes above 4096 bytes
> ---------------------------------------------------------------------------------
>
>                 Key: THRIFT-4390
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4390
>             Project: Thrift
>          Issue Type: Bug
>          Components: Rust - Library
>    Affects Versions: 0.10.0
>         Environment: docker image ubuntu-artful
>            Reporter: James E. King, III
>            Assignee: Allen George
>            Priority: Critical
>
> 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}
> @gadLinux this may be the root cause of some of the issues you were seeing with the interop
against c_glib recently.  It is the root cause of some (if not all of) the rs-csharp test
failures.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message