Skip to content

Commit adde2e9

Browse files
authored
docs: update related packages sections
PR-URL: #8051 Reviewed-by: Athan Reines <[email protected]>
1 parent e11eb77 commit adde2e9

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/net/http-server

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/net/http-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The function supports the following parameters:
114114

115115
## Notes
116116

117-
- Which server options are supported depends on the Node.js version. Older Node.js versions (e.g., <= v8.12.0) do not support an options object when calling [`http.createServer`][nodejs-http-create-server], and, for those versions, any options supported by [`http.createServer`][nodejs-http-create-server] in later Node.js versions are ignored.
117+
- Which server options are supported depends on the Node.js version. Older Node.js versions (e.g., &lt;= v8.12.0) do not support an options object when calling [`http.createServer`][nodejs-http-create-server], and, for those versions, any options supported by [`http.createServer`][nodejs-http-create-server] in later Node.js versions are ignored.
118118
- Port hunting can be useful in a microservice deployment. When a `port` is randomly assigned (`options.port=0`), if a server fails and is restarted, the server is unlikely to bind to its previous `port`. By allowing a constrained search, assuming no lower `ports` within a specified range have freed up in the meantime, the likelihood of listening on the same `port` is increased. A server can typically restart and bind to the same `port` faster than binding to a new `port` and re-registering with a microservice registry, thus minimizing possible service interruption and downtime.
119119

120120
</section>

0 commit comments

Comments
 (0)