On Tue, Oct 11, 2016 at 4:59 AM, <[email protected]> wrote:

>
>
>
>>> moreover, what can grpc applications do to read from this channel ?
>>>
>> I actually already provided a solution to you in my first reply. Does it
>> work for you?
>>
>>>
>>> The solution you provided doesnt work for me. The key for book keeping
> is obtained from metadata.FromContext(ctx) which is set by grpc client.
>
This is actually problematic because one grpc.ClientConn may have multiple
underlying network connections so that you may set the same key for
different network connections and clearly the server has no way to
differentiate connections via the metadata key.

> i can trap net.Listener.Accept but that doesnt tell me about this metadata.
> So i need if grpc can tell when one connection is closed by client, and
> the associated context metadata, so that i can remove the entry
>
> regards,
> Vimal
>
> --
> 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/d9112f90-befd-49d1-9958-81ea3a2a3077%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/d9112f90-befd-49d1-9958-81ea3a2a3077%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks,
-Qi

-- 
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/CAFnDmdosxiYFKHY_TfnK7RUS1M3hKJZDcMKs7iRJ8e-WQKvMCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to