Skip to content

Backport: doc: make socket IPC examples more robust - #15482

Closed
cjihrig wants to merge 1 commit into
nodejs:v6.x-stagingfrom
cjihrig:backport
Closed

Backport: doc: make socket IPC examples more robust#15482
cjihrig wants to merge 1 commit into
nodejs:v6.x-stagingfrom
cjihrig:backport

Conversation

@cjihrig

Copy link
Copy Markdown
Contributor

Backport of #13196

This commit aims to improve the documentation examples that send
sockets over IPC channels. Specifically, pauseOnConnect is added
to a server that inspects the socket before sending and a
'message' handler adds a check that the socket still exists.

PR-URL: #13196
Reviewed-By: Santiago Gimeno santiago.gimeno@gmail.com
Reviewed-By: Refael Ackermann refack@gmail.com

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

This commit aims to improve the documentation examples that send
sockets over IPC channels. Specifically, pauseOnConnect is added
to a server that inspects the socket before sending and a
'message' handler adds a check that the socket still exists.
PR-URL: nodejs#13196
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
@nodejs-github-botnodejs-github-bot added child_process Issues and PRs related to the child_process subsystem. doc Issues and PRs related to the documentations. v6.x labels Sep 20, 2017
@cjihrigcjihrig closed this Sep 22, 2017
@cjihrig
cjihrig deleted the backport branch September 22, 2017 01:12
@MylesBorins

Copy link
Copy Markdown
Contributor

@cjihrig why did this close before landing? Did you decide we shouldn't land it?

@cjihrig

Copy link
Copy Markdown
ContributorAuthor

It was a mistake, and I had deleted the branch already, so I couldn't reopen the PR. I think you should still be able to access the patch though.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

child_processIssues and PRs related to the child_process subsystem.docIssues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@cjihrig@MylesBorins@jasnell@nodejs-github-bot