[
https://issues.apache.org/jira/browse/THRIFT-5432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364347#comment-17364347
]
GuangMing Lu commented on THRIFT-5432:
--------------------------------------
The TConfiguration passed down can be used when the TmemoryInputTransport
member is initialized in TSASLTransport, This allows you to specify a
TConfiguration when constructing TTransport, avoiding a fixed 100MB write-down
> TSaslTransport throw TTransportException of MaxMessageSize reached
> -------------------------------------------------------------------
>
> Key: THRIFT-5432
> URL: https://issues.apache.org/jira/browse/THRIFT-5432
> Project: Thrift
> Issue Type: Bug
> Components: Java - Library
> Affects Versions: 0.14.1
> Reporter: GuangMing Lu
> Priority: Major
> Fix For: 0.14.2
>
> Attachments: THRIFT-5432-1.patch, image-2021-06-16-23-06-27-396.png,
> image-2021-06-16-23-08-29-961.png
>
>
> When use TSaslTransport, we can see data reader is new
> TMemoryInputTransport(), the structure of the empty parameter will cause the
> tconfiguration to give a 100mb limit, However, the TmemoryInputTransport
> buffer is independent of this restriction and should be initialized by the
> TConfiguration of TSASLTransport
> !image-2021-06-16-23-08-29-961.png!
> !image-2021-06-16-23-06-27-396.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)