bug in server socket logging broadcast data
This commit is contained in:
parent
e49145ceb8
commit
d254d8be0c
6 changed files with 41 additions and 2 deletions
13
certs/demo-cert.pem
Normal file
13
certs/demo-cert.pem
Normal 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-----
|
11
certs/demo-tls-cert-request.pem
Normal file
11
certs/demo-tls-cert-request.pem
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
-----BEGIN CERTIFICATE REQUEST-----
|
||||||
|
MIIBhDCB7gIBADBFMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEh
|
||||||
|
MB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEB
|
||||||
|
AQUAA4GNADCBiQKBgQCzPhH2fSiVRkEw7RtGyQx0hSz2pvVCiXrLmW65pybfEtiN
|
||||||
|
AplVp7f9m8o0YO3mtXUEndXxqX4Ne2sqUPrlElGm4Pxr7APfPj0wdRHG8l2mT1TB
|
||||||
|
LcKHN3y1fS8WJCz2oIa/4WN5vmrQbYVVvQs61ggdLG0F3w0zr1itdZ1Zh0/LJQID
|
||||||
|
AQABoAAwDQYJKoZIhvcNAQEFBQADgYEAKt0g5rE3re23CWSPpM6HCO1GycTm1emU
|
||||||
|
h6yyJ0vqpK+rQwupafcjSo3s/AATTmVcO1vsZYaFL4rblJWAkVGwDNZs/qHD1mtJ
|
||||||
|
w7AQNAAN018Jxw3Z5CGbjCM95jJEQbuaceddhgrL/w/GD8ns1kkEe+PgnKfC/ZAT
|
||||||
|
OK41JUmJdh8=
|
||||||
|
-----END CERTIFICATE REQUEST-----
|
15
certs/demo-tls-private-key.pem
Normal file
15
certs/demo-tls-private-key.pem
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
-----BEGIN RSA PRIVATE KEY-----
|
||||||
|
MIICXAIBAAKBgQCzPhH2fSiVRkEw7RtGyQx0hSz2pvVCiXrLmW65pybfEtiNAplV
|
||||||
|
p7f9m8o0YO3mtXUEndXxqX4Ne2sqUPrlElGm4Pxr7APfPj0wdRHG8l2mT1TBLcKH
|
||||||
|
N3y1fS8WJCz2oIa/4WN5vmrQbYVVvQs61ggdLG0F3w0zr1itdZ1Zh0/LJQIDAQAB
|
||||||
|
AoGADjxOxunX0Es9IDqkoPGUyKhPEuPdtMQgeY0dCyeoYa0of8KGFRR1+3FlFNXh
|
||||||
|
7yHYQl6awE+60C1OLJUz5/+Vdm5711QhOrX+hmwhEmkDyhXB7urpkgEnuDOmhPjl
|
||||||
|
d2Xv9yY06lIJjIVd9Q3yiqA7HjJhvpc4xZL8QtRkK4arsz0CQQDcW7XIdAUM4s1G
|
||||||
|
uXQlHHhBpHsSlUWiWkz9PnGxB3WEa2sX2HOR01D/bHf3NZapU0CTwmuq3kc4orRy
|
||||||
|
Ye6V2QL/AkEA0DvlAx9gpkAm8sJvUuzsdwnm8Ze+FFYhtOAJc8Op9h6GHB5zQ/Xa
|
||||||
|
eQqhrN6D6+UwIm6mKDbA/1nDRa3SlKTF2wJBAJQLUV/xAoubvIotgmiEbg678KuV
|
||||||
|
egkPXfYuA7gJ6NwkRvjoRQzNyfcw6pA9gpEUC6i50Bgl6feU6GKIhQBLogUCQHdw
|
||||||
|
k3iKC+7wRybhnecr3Kqe9GfJCQ8zJFxSUTmklp2EfposYSMvJuRc08WLUJIDQOvP
|
||||||
|
GeFhHqyY+SfDf1EhfhcCQAe6m1gLo/fq1yYWTyeEQeCsTKlIBHRsTsNNvQPGzIjy
|
||||||
|
J/bMz5WLQQT2rk7f1SO1qK8DCTWTeD8WJoMv5HxZBfc=
|
||||||
|
-----END RSA PRIVATE KEY-----
|
0
certs/readme.md
Normal file
0
certs/readme.md
Normal file
|
@ -39,7 +39,7 @@ function emit(socket, type, data){
|
||||||
};
|
};
|
||||||
|
|
||||||
function broadcast(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)
|
if(!data)
|
||||||
data=false;
|
data=false;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "node-ipc",
|
"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.",
|
"description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.",
|
||||||
"main": "node-ipc.js",
|
"main": "node-ipc.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
Loading…
Reference in a new issue