davecheney / httpstat

It's like curl -v, with colours.
MIT License
7.06k stars 383 forks source link

Use TLS server name indication #39

Closed andres-erbsen closed 8 years ago

andres-erbsen commented 8 years ago

https://github.com/davecheney/httpstat/blob/master/main.go#L134 should set ServerName in tls.Config.

This would make it possible to use this tool with hosting situations where multiple sites share the same IP and there is no fallback.

davecheney commented 8 years ago

Yes, this is an important improvement. I think this behaviour should be on by default, see #40 for a suggestion for a flag to disable it.

theckman commented 8 years ago

Looks like this may have been closed by #42?

davecheney commented 8 years ago

Well spotted.