bug in server socket logging broadcast data

This commit is contained in:
brandon 2014-05-07 10:40:13 -07:00
parent e49145ceb8
commit d254d8be0c
6 changed files with 41 additions and 2 deletions

13
certs/demo-cert.pem Normal file
View file

@ -0,0 +1,13 @@
-----BEGIN CERTIFICATE-----
MIICATCCAWoCCQDiFL1fY1AhrTANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQGEwJB
VTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0
cyBQdHkgTHRkMB4XDTE0MDQwOTE3NTEwMVoXDTE0MDUwOTE3NTEwMVowRTELMAkG
A1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0
IFdpZGdpdHMgUHR5IEx0ZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAsz4R
9n0olUZBMO0bRskMdIUs9qb1Qol6y5luuacm3xLYjQKZVae3/ZvKNGDt5rV1BJ3V
8al+DXtrKlD65RJRpuD8a+wD3z49MHURxvJdpk9UwS3Chzd8tX0vFiQs9qCGv+Fj
eb5q0G2FVb0LOtYIHSxtBd8NM69YrXWdWYdPyyUCAwEAATANBgkqhkiG9w0BAQUF
AAOBgQBjE1Jf+HvGx3pM75fp+GicENf5k3bGFHU4jitN7TfPjdpgJ2JdW3TEgHn7
00GF/+zrwGyl8mJdDjuzFR+MwDvyNFgBzRi11cFXOc9zz5Q/BAPe7+ErvvFebTNl
z/ypuYPTWZI0jUI7nByo0jIAwys6jk9eSuZfhU9QRfY65BcxnQ==
-----END CERTIFICATE-----

View file

@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE REQUEST-----
MIIBhDCB7gIBADBFMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEh
MB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEB
AQUAA4GNADCBiQKBgQCzPhH2fSiVRkEw7R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gl6feU6GKIhQBLogUCQHdw
k3iKC+7wRybhnecr3Kqe9GfJCQ8zJFxSUTmklp2EfposYSMvJuRc08WLUJIDQOvP
GeFhHqyY+SfDf1EhfhcCQAe6m1gLo/fq1yYWTyeEQeCsTKlIBHRsTsNNvQPGzIjy
J/bMz5WLQQT2rk7f1SO1qK8DCTWTeD8WJoMv5HxZBfc=
-----END RSA PRIVATE KEY-----

0
certs/readme.md Normal file
View file

View file

@ -39,7 +39,7 @@ function emit(socket, type, data){
};
function broadcast(type,data){
this.log('broadcasting event to all known sockets listening to '.debug, this.path.variable,' : ', ((this.port)?this.port:''), type.data, data);
this.log('broadcasting event to all known sockets listening to '.debug, this.path.variable,' : ', ((this.port)?this.port:''), type, data);
if(!data)
data=false;

View file

@ -1,6 +1,6 @@
{
"name": "node-ipc",
"version": "0.9.2",
"version": "1.0.0",
"description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.",
"main": "node-ipc.js",
"directories": {