Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
3516f35
deps: backport 7c3748a from upstream V8
cristiancavalli Jan 18, 2017
e0dc0ce
build: don't squash signal handlers with --shared
Dec 30, 2016
35a660e
crypto: fix handling of root_cert_store.
agl Oct 30, 2016
a9eb093
src: fix memory leak introduced in 34febfbf4
bnoordhuis Nov 14, 2016
2f48001
src: use ABORT() macro instead of abort()
evanlucas Nov 15, 2016
b48f6ff
crypto: use CHECK_NE instead of ABORT or abort
sam-github Dec 22, 2016
4ce9bfb
test: exclude pseudo-tty test pertinent to #11541
gireeshpunathil Feb 28, 2017
15231aa
http: reject control characters in http.request()
bnoordhuis Oct 4, 2016
5367336
test: simplify test-http-client-unescaped-path
rvagg Nov 17, 2016
87db4f7
build: Don't regenerate node symlink
Nov 28, 2016
094bfe6
build: fix node_g target
danbev Dec 6, 2016
530adfd
doc: improve rinfo object documentation
Dec 1, 2016
3be7a7a
doc: update LTS info for current releases
evanlucas Jan 10, 2017
56b779d
doc: "s/git apply/git am -3" in V8 guide
MylesBorins Jan 6, 2017
8f0e31b
doc: add test naming information to guide
Trott Jan 3, 2017
b10842a
doc: sort require statements in tests
sam-github Jan 4, 2017
7287ddd
doc: add links for zlib convenience methods
addaleax Jan 16, 2017
6d0e162
doc: clarifying variables in fs.write()
jalafel Nov 24, 2016
e656a42
doc: add edsadr to collaborators
edsadr Jan 18, 2017
79f700c
doc: add TimothyGu to collaborators
TimothyGu Jan 22, 2017
05273c5
doc: update AUTHORS list to fix name
Jan 22, 2017
0109321
test: refactor test-https-truncate
Trott Dec 11, 2016
fc2cd63
lib,src: support values > 4GB in heap statistics
bnoordhuis Dec 8, 2016
d0dbf12
doc: update TheAlphaNerd to MylesBorins
MylesBorins Jan 3, 2017
994f562
assert: update comments
Jan 2, 2017
a597c11
benchmark: improve readability of net benchmarks
mscdex Dec 25, 2016
434b00b
meta: decharter the http working group
jasnell Jan 4, 2017
a7df345
net: prefer === to ==
notarseniy Feb 22, 2017
d622b67
doc: document clientRequest.aborted
zbjornson Feb 24, 2017
53f2848
test: favor assertions over console logging
Trott Feb 25, 2017
09c9105
doc: argument types for assert methods
ameliavoncat Feb 25, 2017
75af859
assert: apply minor refactoring
Trott Feb 22, 2017
f0c7c7f
test: fix flaky test-vm-timeout-rethrow
kunalspathak Feb 24, 2017
f4bc12d
doc: note message event listeners ref IPC channels
DiegoRBaquero Feb 22, 2017
f0eee61
test: throw check in test-zlib-write-after-close
Feb 21, 2017
bfc553d
build: fail on CI if leftover processes
Trott Feb 9, 2017
da2adb7
src: update http-parser link
danbev Feb 21, 2017
6a45ac0
build: fix newlines in addon build output
mscdex Feb 20, 2017
ef63af6
tty: avoid oob warning in TTYWrap::GetWindowSize()
reklatsmasters Feb 18, 2017
53dd1a8
tls: do not crash on STARTTLS when OCSP requested
indutny Jan 9, 2017
9da6ebd
benchmark: add dgram bind(+/- params) benchmark
vsemozhetbyt Feb 11, 2017
fa681ea
test: add regex check to test-module-loading
tarang9211 Feb 16, 2017
6abfcd5
doc: add comment for net.Server's error event
jjqq2013 Feb 12, 2017
cd3e17e
test: improve coverage in test-crypto.dh
ejc-main Feb 9, 2017
28471c2
test: refactor test-http-response-splitting
notarseniy Feb 16, 2017
2b867d2
child_process: refactor internal/child_process.js
notarseniy Feb 14, 2017
4676eec
child_process: remove empty if condition
cjihrig Feb 16, 2017
bf4703d
test: remove unused args and comparison fix
sashashakun Feb 14, 2017
41bf266
doc: add STYLE_GUIDE (moved from nodejs/docs)
gibfahn Feb 12, 2017
485ec6c
doc: change STYLE-GUIDE to STYLE_GUIDE
Dean-Coakley Feb 20, 2017
8f49962
tools: suggest python2 command in configure
silverwind Feb 15, 2017
f2fb414
test: refactor test-dgram-membership
Trott Feb 14, 2017
d1a8588
test: improve message in net-connect-local-error
Trott Feb 15, 2017
0c9ea4f
doc: dns examples implied string args were arrays
sam-github Feb 13, 2017
090037a
assert: remove unneeded condition
Trott Feb 11, 2017
77f23ec
assert: unlock the assert API
Trott Feb 10, 2017
d729e52
test: improve crypto coverage
akito0107 Feb 10, 2017
61ac334
doc: update code examples in domain.md
vsemozhetbyt Feb 1, 2017
c4e1af7
src: remove unused typedef
bnoordhuis Feb 12, 2017
caf1ba1
test: add coverage for dgram _createSocketHandle()
cjihrig Feb 10, 2017
8629c95
test: improve punycode test coverage
seppevs Feb 3, 2017
6f1db35
doc: update email and add personal pronoun
JungMinu Feb 12, 2017
342c3e2
meta: adding Italo A. Casas PGP Fingerprint
Feb 6, 2017
cb81ae8
test: add vm module edge cases
fhinkel Feb 9, 2017
923309a
meta: remove Chris Dickinson from CTC
chrisdickinson Feb 9, 2017
10afa8b
doc: drop "and io.js" from release section
bnoordhuis Jan 28, 2017
30d9202
doc: improve consistency in documentation titles
vsemozhetbyt Feb 7, 2017
e1e02ef
doc: clarify the behavior of Buffer.byteLength
seishun Feb 9, 2017
6648b72
tools: add compile_commands.json gyp generator
bnoordhuis Aug 5, 2016
bb1e97c
doc: add and fix System Error properties
darai0512 Jan 24, 2017
ca4b2f6
doc: fix typo in dgram doc
Trott Feb 5, 2017
4bb6155
build: disable C4267 conversion compiler warning
bnoordhuis Feb 6, 2017
c532c16
test: increase specificity in dgram test
Trott Feb 5, 2017
aae768c
doc: remove extraneous paragraph from assert doc
Trott Feb 5, 2017
2b6ee39
doc: improve testing guide
joyeecheung Feb 3, 2017
2016aa4
doc: add not-an-aardvark as ESLint contact
Trott Feb 4, 2017
533d2bf
meta: add explicit deprecation and semver-major policy
jasnell Aug 3, 2016
788d736
doc: typographical fixes in COLLABORATOR_GUIDE.md
addaleax Feb 4, 2017
e90317d
doc: fix "initial delay" link in http.md
Krinkle Feb 1, 2017
115448e
doc: remove assertions about assert
Trott Feb 2, 2017
c2d7090
doc: edit stability text for clarity and style
Trott Feb 2, 2017
b86843a
doc: clarify msg when doc/api/cli.md not updated
Jan 18, 2017
d55d760
doc: add personal pronouns option
Trott Jan 31, 2017
a557d6c
src: unconsume stream fix in internal http impl
Kasher Jan 26, 2017
a40f842
readline: update 6 comparions to strict
umairishaq Jan 31, 2017
c56719f
crypto: Remove expired certs from CNNIC whitelist
shigeki Nov 4, 2016
c6f6b02
crypto: add cert check issued by StartCom/WoSign
shigeki Nov 4, 2016
1db89d4
test: improve coverage on removeListeners functions
Feb 3, 2017
f24aa7e
test: improve error messages in test-npm-install
gonenduk Jan 26, 2017
07dfed8
doc: fix confusing example in dns.md
vsemozhetbyt Jan 26, 2017
f464dd8
doc: edit CONTRIBUTING.md for clarity
Trott Jan 27, 2017
a074290
doc: correct and complete dgram's Socket.bind docs
strugee Jan 26, 2017
1518890
doc: add who to CC list for dgram
cjihrig Jan 27, 2017
db03294
doc: fix typo in http.md
magnetikonline Jan 24, 2017
c1f45ec
test: add 2nd argument to throws in test-assert
Marlena Jan 29, 2017
50a868b
test: require handler to be run in sigwinch test
Trott Jan 30, 2017
3f3c78d
test: refactor test-fs-utimes
jun-oka Oct 26, 2016
1ae95e6
test: improve test-fs-readfile-zero-byte-liar
edsadr Jan 2, 2017
42b86ea
test: improve test-http-chunked-304
edsadr Jan 7, 2017
4453c0c
test: refactor the code in test-child-process-spawn-loop.js
sivaprs Jan 4, 2017
ab65429
test: refactor test-watch-file.js
sivaprs Jan 7, 2017
4d51db8
test: refactor test-doctool-html.js
hiroppy Jan 8, 2017
f86c64a
test: refactor the code of test-keep-alive.js
sivaprs Jan 8, 2017
279cb09
src: enable writev for pipe handles on Unix
aqrln Jan 7, 2017
626875f
benchmark: don't lint autogenerated modules
mscdex Jan 12, 2017
9abde3a
test: use realpath for NODE_TEST_DIR in common.js
gibfahn Jan 10, 2017
6e7dfb1
test: fix temp-dir option in tools/test.py
gibfahn Jan 10, 2017
396688f
readline: refactor construct Interface
JacksonTian Jan 18, 2016
b3d1700
test: improve tests in pummel/test-exec
chasestarr Jan 12, 2017
725a896
doc: remove duplicate properties bullet in readme
trendsetter37 Jan 11, 2017
53b0f41
test: improve the code in test-process-cpuUsage
edsadr Jan 12, 2017
af3c211
build: move source files from headers section
danbev Jan 17, 2017
89e9da6
test: tests for _readableStream.awaitDrain
shmuga Jan 17, 2017
1c223ec
test: add http-common's test
hiroppy Jan 16, 2017
7bceb4f
test: add message verification on assert.throws
tmeisenh Jan 19, 2017
9c53e40
crypto: freelist_max_len is gone in OpenSSL 1.1.0
agl Jan 17, 2017
90d8e11
src: add a missing space in node_os.cc
aqrln Jan 21, 2017
df69c21
test: check fd 0,1,2 are used, not access mode
jBarz Dec 16, 2016
56970ef
test: increase coverage for punycode's decode
hiroppy Jan 21, 2017
b3a8e95
test: improve test-assert
richnologies Jan 20, 2017
22c25de
buffer: improve toJSON() performance
mscdex Jan 19, 2017
a1a850f
test: don't connect to :: (use localhost instead)
gibfahn Jan 17, 2017
db60d92
test: test hmac binding robustness
sam-github Jan 20, 2017
e607ff5
tools: rename eslintrc to an undeprecated format
thefourtheye Jul 13, 2016
a9278a0
test: refactor cluster-preload.js
hiroppy Jan 9, 2017
9ac2316
test: improve code in test-http-host-headers
edsadr Jan 16, 2017
ee27917
test: improve test-stream2-large-read-stall
stefanjudis Jan 10, 2017
1b1ba74
test: improve code in test-domain-multi
edsadr Jan 15, 2017
017afd4
test: improve code in test-console-instance
edsadr Jan 17, 2017
6c1d82c
test: improving coverage for dgram
hiroppy Jan 13, 2017
4d1f7b1
test: add dgram.Socket.prototype.bind's test
hiroppy Jan 19, 2017
d8af5a7
test: improve code in test-crypto-verify
edsadr Jan 20, 2017
c9a92ff
crypto: return the retval of HMAC_Update
tmeisenh Jan 19, 2017
6ca9901
test: add process.assert's test
hiroppy Jan 20, 2017
4b83a83
tools,doc: add Google Analytics tracking.
phillipj Jan 25, 2017
3f6a2db
test: enhance test-timers
Trott Jan 23, 2017
850f85d
benchmark: add benchmark for object properties
targos Jan 21, 2017
2f4b6bd
test: expand test coverage of fs.js
vinimdocarmo Jan 23, 2017
14e57c1
benchmark: add more thorough timers benchmarks
Fishrock123 Jan 20, 2017
dc24127
test: allow for slow hosts in spawnSync() test
Trott Jan 25, 2017
be34b62
test: increase coverage for stream's duplex
hiroppy Jan 23, 2017
fc2bb2c
doc: remove Chris Dickinson from active releasers
bnoordhuis Jan 26, 2017
1df09f9
test: add known_issues test for #10223
AnnaMag Jan 26, 2017
f854d8c
test: increase setMulticastLoopback() coverage
cjihrig Feb 10, 2017
2c84601
util: don't init Debug if it's not needed yet
bengl Sep 8, 2016
f9e121e
dgram: fix possibly deoptimizing use of arguments
vsemozhetbyt Feb 8, 2017
48b5097
http: make request.abort() destroy the socket
lpinca Jan 15, 2017
9551665
2017-03-21, Version 4.8.1 'Argon' (LTS)
MylesBorins Mar 9, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build: don't squash signal handlers with --shared
An application using node built as a shared library may legitimately
implement its own signal handling routines. Current behaviour is
to squash all signal handlers on node startup. This change will
stop that behaviour when node is built as a shared library.

PR-URL: #10539
Fixes: #10520
Refs: #615
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
Stewart X Addison authored and MylesBorins committed Mar 9, 2017
commit e0dc0ceb371f56ff3228f9f11350488ccddcfb08
2 changes: 2 additions & 0 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3957,6 +3957,7 @@ inline void PlatformInit() {

CHECK_EQ(err, 0);

#ifndef NODE_SHARED_MODE
// Restore signal dispositions, the parent process may have changed them.
struct sigaction act;
memset(&act, 0, sizeof(act));
Expand All @@ -3970,6 +3971,7 @@ inline void PlatformInit() {
act.sa_handler = (nr == SIGPIPE) ? SIG_IGN : SIG_DFL;
CHECK_EQ(0, sigaction(nr, &act, nullptr));
}
#endif // !NODE_SHARED_MODE

RegisterSignalHandler(SIGINT, SignalExit, true);
RegisterSignalHandler(SIGTERM, SignalExit, true);
Expand Down