[sr-dev] git:master:e6e03177: websocket: removed legacy stats with typos

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 21 15:32:53 CEST 2017


Module: kamailio
Branch: master
Commit: e6e031775bb38da9ee2e994e9845daeff6a5392d
URL: https://github.com/kamailio/kamailio/commit/e6e031775bb38da9ee2e994e9845daeff6a5392d

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-09-21T15:32:14+02:00

websocket: removed legacy stats with typos

---

Modified: src/modules/websocket/websocket.c

---

Diff:  https://github.com/kamailio/kamailio/commit/e6e031775bb38da9ee2e994e9845daeff6a5392d.diff
Patch: https://github.com/kamailio/kamailio/commit/e6e031775bb38da9ee2e994e9845daeff6a5392d.patch

---

diff --git a/src/modules/websocket/websocket.c b/src/modules/websocket/websocket.c
index b7c6e5e1fb..6eaed99ddf 100644
--- a/src/modules/websocket/websocket.c
+++ b/src/modules/websocket/websocket.c
@@ -144,10 +144,6 @@ static stat_export_t stats[] = {
 	{ "ws_sip_successful_handshakes",      0, &ws_sip_successful_handshakes },
 	{ "ws_msrp_successful_handshakes",     0, &ws_msrp_successful_handshakes },
 
-	/* legacy typo's, fixed in 4.4 */
-	{ "ws_sip_max_concurrent_connectons",  0, &ws_sip_max_concurrent_connections },
-	{ "ws_msrp_max_concurrent_connectons", 0, &ws_msrp_max_concurrent_connections },
-
 	{ 0, 0, 0 }
 };
 
@@ -437,4 +433,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
 {
 	sr_kemi_modules_add(sr_kemi_websocket_exports);
 	return 0;
-}
\ No newline at end of file
+}




More information about the sr-dev mailing list