Skip to content

Conversation

@apapirovski
Copy link
Contributor

Corrects the param name from hostname to host to be consistent everywhere and also corrects the actual heading signature rather than just the instances linking to it.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

@apapirovski apapirovski added the doc Issues and PRs related to the documentations. label Apr 22, 2018
@nodejs-github-bot nodejs-github-bot added the net Issues and PRs related to the net subsystem. label Apr 22, 2018
@apapirovski apapirovski added the fast-track PRs that do not need to wait for 48 hours to land. label Apr 22, 2018
@apapirovski
Copy link
Contributor Author

Please 👍 here to fast-track.

@apapirovski
Copy link
Contributor Author

@trivikr
Copy link
Member

trivikr commented Apr 22, 2018

Thanks @apapirovski for a quick fix!

doc/api/net.md Outdated
Start a [IPC][] server listening for connections on the given `path`.

#### server.listen([port][, host][, backlog][, callback])
#### server.listen([[[port[, host[, backlog]]][, callback])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I count correctly, for the port, host, backlog we have 5 [ and 3 ], is it OK?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely not correct. Thanks for spotting.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it is just:

server.listen([port[, host[, backlog]]][, callback])

here and above?

@apapirovski
Copy link
Contributor Author

apapirovski commented Apr 22, 2018

@vsemozhetbyt Thanks for the catch. Fixed in d9b905e

CI Lite: https://ci.nodejs.org/job/node-test-pull-request-lite/573/

@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 22, 2018
@apapirovski
Copy link
Contributor Author

Landed in 647954d

@apapirovski apapirovski deleted the fix-doc-net-server-listen branch April 22, 2018 15:01
apapirovski added a commit that referenced this pull request Apr 22, 2018
PR-URL: #20209
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
jasnell pushed a commit that referenced this pull request Apr 23, 2018
PR-URL: #20209
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. fast-track PRs that do not need to wait for 48 hours to land. net Issues and PRs related to the net subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants