Hi Michael,

Do you mean that one Length-Prefixed-Message may consist of several DATA 
FRAMEs? For example, the first data frame contains the length and the data, 
and the second frame contains the rest data.
BTW, I have a follow up question: Since we have HTTP2 flow control and tcp 
its own flow control, is it possible that one HTTP2 frames is transported 
by more than one TCP fragments?

Thanks,
Yihao

在 2018年4月2日星期一 UTC-7上午9:46:35,Michael Lumish写道:
>
> The requests stream is a stream of Length-Prefixed-Message, and that 
> length prefix tells you how much data to expect for each message.
>
> On Sun, Apr 1, 2018 at 5:53 PM yihao yang <[email protected] 
> <javascript:>> wrote:
>
>> Hi, all:
>>
>> The title is my question. In this spec, 
>> https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md.
>> The "requests" is a single stream. But how can I know a single request is 
>> over? Since a tcp frame is maximum 65535 bytes.
>> But a grpc protobuffer request can be much larger. If I have 
>> serveral requests to be sent on the stream. How can I distinguish the 
>> boundary of each request?
>>
>> Thanks,
>> Yihao
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/26c3447c-4da4-4118-a29a-4169cbe6a906%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/grpc-io/26c3447c-4da4-4118-a29a-4169cbe6a906%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/5bb6d626-339a-483a-943f-b60a2706c1f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to