From: Daniel Stenberg <>
Date: Sun, 13 Nov 2011 21:03:51 +0100 (CET)

On Sun, 13 Nov 2011, Henrik Nordström wrote:

> Just read the spec again, and there is negotiation.

Cool, then I remembered it wong!

> There is negotiation at the channel level with a dual-sided "I can receive
> packets up to X in size" per channel request. Clean and nice. Restricted by
> the available channel window size which adds a bit of mess. This is at the
> channel level so transport packet size is a bit bigger than this.

But we set 32K as our limit when opening new channels, don't we?

> There is no specificed hard limit of the overhead added at transport level,
> which makes transport packet size limit somewhat arbitrary when larger
> packet sizes are negotiated. But I guess it's fine as long as one stays well
> within maximum_packet_size+(35000-32768) at transport level, where
> maximum_packet_size is actually maximum transport payload size.

This limit we're discussing now is however for SFTP packets, so they should
never be larger than channel packets I would think.


Received on 2011-11-13