Commit Graph

27 Commits

Author SHA1 Message Date
Brandon f3458e7a7b migrating to ESM 2021-07-02 14:35:02 -07:00
Simon Smith f0c64a8282
allow all users to access the pipe 2021-06-30 14:39:52 +01:00
Brandon 768c5fc3a6 MIT Licence and Buffer fix 2020-11-11 12:21:02 -08:00
Brandon Nozaki Miller 7469dbac01
Merge branch 'master' into fix-165 2019-12-02 00:57:26 -08:00
Timbo White 6b777493d2 fix #165 2019-11-11 14:51:27 +00:00
Duknam Yoo 800936ab08
Fix ipcBuffer being shared with all sockets 2017-11-09 14:42:05 +09: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 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 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
Maksim Chartkou 33f717006b fix: this.log is not a function 2017-03-27 16:10:13 +03: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 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
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
SSMP 4b5f95a337 node version detection 2016-10-03 13:34:27 -07:00
SSMP 49b631b270 new event pubsub support 2016-09-30 06:00:28 -07:00
Brandon Nozaki Miller df0c6407c1 major revisions to binary, hex and other rawBuffer sockets 2016-03-23 00:07:37 -07:00
Brandon Nozaki Miller bd967c7513 fixing some ref links 2016-01-11 12:28:13 -08:00
Brandon Nozaki Miller 9f1755374a fixed some formatting 2016-01-10 21:10:58 -08:00
Brandon Nozaki Miller 143e23ca4d migrating to es6 2016-01-10 20:59:40 -08:00
Renamed from lib/socketServer.js (Browse further)