You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Gokkulasudan Rathnakumar <go...@gmail.com> on 2019/09/06 23:47:41 UTC

Reg: Change the buffer size

Hi All,
Is there a way to change the buffer size in SftpSubsystem under apache sshd
2.1.0?

Note: I see it as *protected final Buffer buffer = new
ByteArrayBuffer(1024);*

Thanks & regards,
Gokkulasudan Rathnakumar.

Re: Reg: Change the buffer size

Posted by Gokkulasudan Rathnakumar <go...@gmail.com>.
Hi Thomas,
Thanks for the clarification. Then is there a way to restrict the growth of
the buffer size? Say not to exceed 65k or so?




On Fri, Sep 6, 2019, 6:04 PM Thomas Charron <tw...@gmail.com> wrote:

>   Umm, it resizes itself, 1024 is just the initial size.
>
>    Thomas
>
>
> On Fri, Sep 6, 2019, 7:49 PM Gokkulasudan Rathnakumar <
> gokkulasudanr92@gmail.com> wrote:
>
>> Hi All,
>> Is there a way to change the buffer size in SftpSubsystem under apache
>> sshd
>> 2.1.0?
>>
>> Note: I see it as *protected final Buffer buffer = new
>> ByteArrayBuffer(1024);*
>>
>> Thanks & regards,
>> Gokkulasudan Rathnakumar.
>>
>

Re: Reg: Change the buffer size

Posted by Thomas Charron <tw...@gmail.com>.
  Umm, it resizes itself, 1024 is just the initial size.

   Thomas


On Fri, Sep 6, 2019, 7:49 PM Gokkulasudan Rathnakumar <
gokkulasudanr92@gmail.com> wrote:

> Hi All,
> Is there a way to change the buffer size in SftpSubsystem under apache sshd
> 2.1.0?
>
> Note: I see it as *protected final Buffer buffer = new
> ByteArrayBuffer(1024);*
>
> Thanks & regards,
> Gokkulasudan Rathnakumar.
>