Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
https: fix link
  • Loading branch information
indutny committed Apr 27, 2019
commit c85a7eb8d3f5f10bc82b9441b0a3e39e383a8761
5 changes: 3 additions & 2 deletions doc/api/https.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ An [`Agent`][] object for HTTPS similar to [`http.Agent`][]. See
* `maxCachedSessions` {number} maximum number of TLS cached sessions.
Use `0` to disable TLS session caching. **Default:** `100`.
* `servername` {string | boolean} the value of
[Server Name Indication extension](https://en.wikipedia.org/wiki/Server_Name_Indication)
to be sent to the server. Use `false` to disable sending the extension.
[Server Name Indication extension][sni wiki] to be sent to the server. Use
`false` to disable sending the extension.
**Default:** hostname or IP address of the target server.

See [`Session Resumption`][] for infomation about TLS session reuse.
Expand Down Expand Up @@ -410,3 +410,4 @@ headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; p
[`tls.createSecureContext()`]: tls.html#tls_tls_createsecurecontext_options
[`tls.createServer()`]: tls.html#tls_tls_createserver_options_secureconnectionlistener
[`Session Resumption`]: tls.html#tls_session_resumption
[sni wiki]: https://en.wikipedia.org/wiki/Server_Name_Indication