Skip to content

Commit 2ea3e4c

Browse files
committed
fix
1 parent 549b4bd commit 2ea3e4c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/api/https.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ An [`Agent`][] object for HTTPS similar to [`http.Agent`][]. See
2828
* `options` {Object} Set of configurable options to set on the agent.
2929
Can have the same fields as for [`http.Agent(options)`][], and
3030
* `maxCachedSessions` {number} maximum number of TLS cached sessions.
31-
Use `0` to disable TLS session caching. **Default:** `100`
31+
Use `0` to disable TLS session caching. **Default:** `100`.
3232
* `servername` {string | boolean} the value of
3333
[Server Name Indication extension](https://en.wikipedia.org/wiki/Server_Name_Indication)
3434
to be sent to the server. Use `false` to disable sending the extension.
35-
**Default:** hostname or ip address of the target server
35+
**Default:** hostname or IP address of the target server.
3636

3737
See [`Session Resumption`][] for infomation about TLS session reuse.
3838

test/parallel/test-https-agent-sni.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ server.listen(0, function() {
3232
return common.mustCall(function(res) {
3333
res.resume();
3434
assert.strictEqual(res.headers['x-sni'],
35-
id === false ? undefined : `sni.${id}`);
35+
id === false ? undefined : `sni.${id}`);
3636
});
3737
}
3838

0 commit comments

Comments
 (0)