Closed bwestergard closed 2 years ago
Thanks for reporting!
After some half-hearted digging in the Node.js code base, it seems like Node.js does the same with HTTPS requests: Parse the hostname from the URL and use it for SNI. For example, in the Agent
implementation:
A PR that fixes this is very welcome! This should be where the option needs to be added:
https://github.com/derhuerst/gemini/blob/665fe6b6a49ee6d5f77055af7d89a4edfefc3e47/connect.js#L32-L39
Couldn't find a way to get in touch with you personally, so I'll say it here: Thank you for sponsoring me!
In addition to
hostname
, there should be aservername
option in these parameters. This will address the problem noted in this issue report ongemini-fetch
.https://github.com/RangerMauve/gemini-fetch/issues/1