Commit graph

13 commits

Author SHA1 Message Date
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)