[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] [SPDY] partial transmission of data frames due to small transfer window size

Hi Simone,

Thanks for the clarification! Will use something along the lines you proposed detecting message boundaries.

Best,

Oliver

On 30/5/12 16:01 , Simone Bordet wrote:
You have to come up with your own framing, if you're going to send
down messages like in your example, or use push streams, closing the
stream after each message (although there is an overhead - one more
SYN_STREAM frame).
Another solution could be to send your 56 bytes message followed by a
0 bytes data frame; on the client you will accumulate until you get
the 0 bytes data frame, at which point you know that what you
accumulated is "complete".

We may propose a message boundary flag for spdy/4.