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]> 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].
> 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/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/CAPK2-4f%3D1EDqY4k7g1QRXQOJvKJ5CYNzv4v3h34Kjo5gr5pfYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to