request / tunnel-agent

HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.
Apache License 2.0
117 stars 105 forks source link

Cannot set servername SNI, for tls socket #36

Open odinho opened 6 years ago

odinho commented 6 years ago

Hi,

The servername is hardcoded.

https://github.com/request/tunnel-agent/blob/eb2b1b19e09ee0e6a2b54eb2612755731b7301dc/index.js#L203

It'd be nice to be able to set it.

Odin