On Thursday, January 26, 2017 at 8:52:54 PM UTC+1, Carl Mastrangelo wrote:
>
> Name resolution happens before the connection, so I'm not sure what you 
> mean by "connection in progress".  Could you clarify?  
>

Well since the authority() returned by the NameResolver is used during 
setup of the SSLEngine (what i call "connection in progress aka handshake) 
and subsequentl verification of the certificates, i thought to try and 
figure out in the interceptor what host:port exactly is being used from the 
list of servers that was returned through service discovery. Then i would 
set this as a threadlocal for the NameResolver to pick it up. But this 
seems not the right way as i get from your comment. 

For the moment to get it to work i have added the service name to the 
certificates. It seems that  https://github.com/grpc/grpc-java/pull/2662 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgrpc%2Fgrpc-java%2Fpull%2F2662&sa=D&sntz=1&usg=AFQjCNHENqOm4rqx2z1xT_Og3mVoMJwX4A>
  
as replied in the other email is exactly the problem i am having.

Thanks,
Jorg

-- 
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/1b4b66f2-f199-4b28-af5e-cb7797ed643f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to