When the keepalive timer expires (and there's been no activity; most expirations will have activity and so it will just re-set the timer), the connection isn't killed. Instead, a *write* is done on the connection. If a read happens within the timeout, then everything is deemed good and it waits until the next expiration without read activity. So it's quite different from setReadDeadline.
On Wed, Jun 7, 2017 at 11:56 PM, Zeymo Wang <zeymo.w...@gmail.com> wrote: > Is any consider? > > -- > 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 grpc-io+unsubscr...@googlegroups.com. > To post to this group, send email to grpc-io@googlegroups.com. > 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/12c86390-6125-4103-9614-7b758446372f%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/12c86390-6125-4103-9614-7b758446372f%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 grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. 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/CA%2B4M1oOXfpHWNauj4pDDpRRfA_9_y7p_B1uAByTnaLXzf5T-HA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature