aotrautils-srv 0.0.321 → 0.0.322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (04/12/2022-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (04/12/2022-02:34:21)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4827,7 +4827,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4827
4827
|
|
|
4828
4828
|
|
|
4829
4829
|
|
|
4830
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (04/12/2022-
|
|
4830
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (04/12/2022-02:34:21)»*/
|
|
4831
4831
|
/*-----------------------------------------------------------------------------*/
|
|
4832
4832
|
|
|
4833
4833
|
|
|
@@ -5379,7 +5379,11 @@ WebsocketImplementation={
|
|
|
5379
5379
|
|
|
5380
5380
|
if (clientSocket.isConnectionAlive===false){
|
|
5381
5381
|
|
|
5382
|
-
|
|
5382
|
+
|
|
5383
|
+
// On today, this method is named as same for the two implementations :
|
|
5384
|
+
clientSocket.removeAllListeners();
|
|
5385
|
+
|
|
5386
|
+
|
|
5383
5387
|
// TODO : FIXME : Use one single interface !
|
|
5384
5388
|
if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.terminate();
|
|
5385
5389
|
else clientSocket.emit("endConnection");
|
|
@@ -6152,7 +6156,7 @@ initNodeServer=function(doOnClientConnection=null, doOnFinalizeServer=null, /*OP
|
|
|
6152
6156
|
//
|
|
6153
6157
|
//
|
|
6154
6158
|
// const server=initNodeServer(
|
|
6155
|
-
// // On client connection :
|
|
6159
|
+
// // On each client connection :
|
|
6156
6160
|
//// (serverParam, clientSocketParam)=>{},
|
|
6157
6161
|
// null,
|
|
6158
6162
|
// // On server finalization :
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.322",
|
|
4
4
|
"main": "aotrautils-srv.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|