If you leave the Servername blank, http.Transport will get it from the HTTP 
request. 

Andy

> On Jul 15, 2019, at 12:27 PM, efah...@gmail.com wrote:
> 
> Hi,
> 
> I was wondering how one can do concurrent tls requests with one single 
> http.Client where all the servers serving the request have their certificates 
> from the same root CA but require different tls.Config.Servername.
> 
> Would be nice to have a function like http.client.DoWithServername(req, 
> servername)
> 
> Regards
> Fahad
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com 
> <mailto:golang-nuts+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/4fd8afd1-533d-4d34-8be3-039238eea2b4%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/golang-nuts/4fd8afd1-533d-4d34-8be3-039238eea2b4%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/A088D100-E248-426A-BB95-1B34496BF415%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to