Commit graph

370 commits

Author SHA1 Message Date
Duknam Yoo
800936ab08
Fix ipcBuffer being shared with all sockets 2017-11-09 14:42:05 +09:00
Brandon Nozaki Miller
70e03c119b Merge pull request #130 from 0x5e/patch-1
Add documentation of `delimiter` variable
2017-10-26 13:02:52 -07:00
gaosen
2dca400678 Update README.md
Add documentation of `delimiter` variable
2017-10-25 21:05:22 +01:00
Brandon Nozaki Miller
17f7f111ff rev 2017-08-25 00:21:36 -07:00
Brandon Nozaki Miller
a5bcf0d168 Merge pull request #126 from vale981/patch-1
Update event-pubsub
2017-08-25 00:19:04 -07:00
vale981
b7f94b8999 Update event-pubsub 2017-08-24 15:31:35 +02:00
Brandon Nozaki Miller
2193d6fae2 rev 2017-07-21 05:27:22 -07:00
Brandon Nozaki Miller
94249c24ea Merge pull request #116 from medicomp/master
Compatibility with Node.js cluster module
2017-07-21 05:23:11 -07:00
Brandon Miller
1d8fae31ec added example files to example/cluster/* tweaked readme style example 2017-07-21 05:18:16 -07:00
Luke Stratman
e297474e1c Added documentation and examples to README 2017-07-14 18:09:35 -04:00
Brandon Nozaki Miller
366454648c Merge branch 'master' into master 2017-07-12 22:34:07 -07:00
Brandon Nozaki Miller
4cbb71253e windows only test node 6,7,and 8 2017-07-12 22:32:52 -07:00
Brandon Nozaki Miller
27672cfc00 only test 678 versions of node 2017-07-12 22:32:04 -07:00
Brandon Nozaki Miller
eb486cc172 Merge branch 'master' into master 2017-07-12 16:30:32 -07:00
Brandon Nozaki Miller
22bc09ad54 Merge pull request #121 from benblank/logger
Allow users to specify a custom logger
2017-07-12 16:28:59 -07:00
Ben Blank
c62e699844 add support for a configurable logger 2017-06-25 19:44:48 -07:00
Luke Stratman
8463175f62 Fixed a syntax error 2017-05-24 13:38:42 -04:00
Luke Stratman
1df857ce3a Cluster module support
Added an option to control whether or not node-ipc unlinks the Unix
socket path when it starts a server which, when set to false, allows the
overall application to handle this and allows node-ipc to work with the
Node.js cluster module.
2017-05-24 13:36:40 -04:00
Brandon Nozaki Miller
22c5688737 Merge pull request #115 from atiertant/patch-1
fix this.log is not a function
2017-05-18 15:21:36 -07:00
Brandon Nozaki Miller
fdfd13b98f binding this is better for garbage collection. 2017-05-18 14:22:56 -07:00
Alexandre Tiertant
f6bd9e7832 fix this.log is not a function 2017-05-05 14:30:22 +02:00
RIAEvangelist
6e9a012cb3 fixed poor require practice 2017-04-15 22:59:29 -07:00
RIAEvangelist
c18baa2ae3 rev 2017-04-15 22:18:33 -07:00
RIAEvangelist
8886f82faa cleanup, performance improvements and reformatting 2017-04-15 22:17:25 -07:00
RIAEvangelist
e4098d1921 Merge branch 'master' of github.com:RIAEvangelist/node-ipc 2017-04-15 21:13:25 -07:00
RIAEvangelist
a5bf16503c es6 updates 2017-04-15 21:13:15 -07:00
Brandon Nozaki Miller
52c37718c3 Merge pull request #113 from MaxXx1313/master
fix issue #112
2017-04-04 18:52:51 -07:00
Maksim Chartkou
33f717006b fix: this.log is not a function 2017-03-27 16:10:13 +03:00
RIAEvangelist
e79e8064f4 Merge branch 'master' of github.com:RIAEvangelist/node-ipc 2017-02-14 04:02:07 -08:00
RIAEvangelist
729149d095 test passed 2017-02-14 04:01:52 -08:00
Brandon Nozaki Miller
2eb369dba3 Merge pull request #111 from RIAEvangelist/v8.x
v8.10.3
2017-02-14 03:55:11 -08:00
RIAEvangelist
0690914634 v8.10.2 2017-02-14 03:32:49 -08:00
Brandon Nozaki Miller
fad4cbb683 Merge pull request #103 from wearetrail/master
Ensure message format availability
2017-02-14 03:10:43 -08:00
Brandon Nozaki Miller
e865e949ce test may run too fast sometimes 2017-02-13 23:27:11 -08:00
Brandon Nozaki Miller
524a63e88f spec path updates required 2017-02-13 23:16:33 -08:00
Brandon Nozaki Miller
4edd1d044e do not reject messages
allow loose message sending, but prevent handling errors
2017-02-13 22:37:24 -08:00
Melvin Valster
4f9f206b42 Check for type and data not being undefined 2017-01-24 11:22:53 +01:00
Melvin
cfcf815275 Merge branch 'master' into master 2017-01-24 11:11:39 +01:00
RIAEvangelist
b3bbeece24 moved node-cmd to devDeps 2016-12-22 11:44:15 -08:00
RIAEvangelist
9d9dd746c2 dep updates 2016-12-22 11:38:45 -08:00
RIAEvangelist
eda84a4093 fix for windows posix sockets 2016-12-21 19:34:53 -08:00
RIAEvangelist
c899df2f42 confirmed network interface release 2016-12-21 19:15:47 -08:00
RIAEvangelist
872e3ff090 Default simplification and interface addition 2016-12-21 17:03:12 -08:00
Melvin
3ca19e205e Merge branch 'master' into master 2016-12-21 11:51:40 +01:00
RIAEvangelist
0218c8340f CI config updates 2016-12-20 18:28:51 -08:00
Brandon Nozaki Miller
855e1a371f Update package.json
rev
2016-12-19 17:08:44 -08:00
Brandon Nozaki Miller
4c764fd310 Merge pull request #106 from kevinwilson541/fix/tls-server-connect
call startTLSServer in socketServer to init this.server
2016-12-19 17:07:41 -08:00
Kevin Wilson
c849889590 call startTLSServer in socketServer to init this.server 2016-12-03 01:31:03 -08:00
Melvin
8de357f488 Ensure message format availability
Make sure the entire process doesn't crash when a message is sent without `type` and/or `data` as such:

```
error: Uncaught Exception TypeError: Cannot read property 'id' of undefined
    at Server.gotData (/usr/src/app/node_modules/@trail/pigeoneer/node_modules/node-ipc/dao/socketServer.js:181:24)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Socket.EventEmitter.emit (/usr/src/app/node_modules/@trail/pigeoneer/node_modules/sc-domain/index.js:12:31)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at TCP.onread (net.js:548:20)
```
2016-11-15 15:17:54 +01:00
Brandon Nozaki Miller
e7739111fc Merge pull request #102 from RIAEvangelist/v8.x
V8.9.2
2016-10-06 16:35:10 -07:00