FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Backport doc: server.listen() random port by phillipj · Pull Request #8025 · nodejs/node · GitHub

/ node Public

Backport doc: server.listen() random port - #8025

Closed
phillipj wants to merge 1 commit into
nodejs:v4.x-stagingfrom
phillipj:backport-doc-server-port
Closed

Backport doc: server.listen() random port#8025
phillipj wants to merge 1 commit into
nodejs:v4.x-stagingfrom
phillipj:backport-doc-server-port

Conversation

phillipj commented Aug 8, 2016

Copy link
Copy Markdown
Member
Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

Description of change

Backported from 57e95d9 / #7976.

Minor rewording related to making a server listen to a random port, and added how to retrieve which port was randomly chosen by the OS.

Also changed documented server.listen() signature as it does in fact not require port to be provided (lib/net.js#L1339).

phillipj added http Issues or PRs related to the http subsystem. doc Issues and PRs related to the documentations. net Issues and PRs related to the net subsystem. v4.x labels Aug 8, 2016
Minor rewording related to making a server listen to a random port,
and added how to retrieve which port was randomly chosen by the OS.

Also changed documented `server.listen()` signature as it does in fact
not require `port` to be provided.

PR-URL: nodejs#7976
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
phillipj force-pushed the backport-doc-server-port branch from f3b887f to e78fa6c Compare August 22, 2016 08:31

Copy link
Copy Markdown
Member Author

@jasnell @cjihrig any of you have the time to have a look at this, since you reviewed the original PR #7976?

jasnell commented Aug 22, 2016

Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Member Author

@nodejs/lts is one of you supposed to merge this or should I?

jasnell commented Aug 23, 2016

Copy link
Copy Markdown
Member

I'd like @cjihrig to sign off on it also, then I can land.

cjihrig commented Aug 24, 2016

Copy link
Copy Markdown
Contributor

LGTM

jasnell changed the base branch from v4.x to v4.x-staging August 24, 2016 14:06
jasnell pushed a commit that referenced this pull request Aug 24, 2016
Minor rewording related to making a server listen to a random port,
and added how to retrieve which port was randomly chosen by the OS.

Also changed documented `server.listen()` signature as it does in fact
not require `port` to be provided.

PR-URL: #8025
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

jasnell commented Aug 24, 2016

Copy link
Copy Markdown
Member

Landed in 3ecd06d

jasnell closed this Aug 24, 2016
phillipj deleted the backport-doc-server-port branch August 25, 2016 12:24
MylesBorins pushed a commit that referenced this pull request Sep 28, 2016
Minor rewording related to making a server listen to a random port,
and added how to retrieve which port was randomly chosen by the OS.

Also changed documented `server.listen()` signature as it does in fact
not require `port` to be provided.

PR-URL: #8025
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
rvagg pushed a commit that referenced this pull request Oct 18, 2016
Minor rewording related to making a server listen to a random port,
and added how to retrieve which port was randomly chosen by the OS.

Also changed documented `server.listen()` signature as it does in fact
not require `port` to be provided.

PR-URL: #8025
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins pushed a commit that referenced this pull request Oct 26, 2016
Minor rewording related to making a server listen to a random port,
and added how to retrieve which port was randomly chosen by the OS.

Also changed documented `server.listen()` signature as it does in fact
not require `port` to be provided.

PR-URL: #8025
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins mentioned this pull request Oct 26, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. http Issues or PRs related to the http subsystem. net Issues and PRs related to the net subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL