@routr/edgeport 2.14.0 → 2.15.0

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.
@@ -15,7 +15,10 @@ function getServerProperties(config) {
15
15
  const properties = new Properties();
16
16
  properties.setProperty("javax.sip.STACK_NAME", "routr");
17
17
  properties.setProperty("javax.sip.AUTOMATIC_DIALOG_SUPPORT", "OFF");
18
- properties.setProperty("gov.nist.javax.sip.MESSAGE_PROCESSOR_FACTORY", "gov.nist.javax.sip.stack.NioMessageProcessorFactory");
18
+ // io.routr.sip.SafeNioMessageProcessorFactory swaps WSS processors so they
19
+ // produce a patched channel whose onNewSocket() does not recurse into
20
+ // sendMessage(). See SafeNioTlsWebSocketMessageChannel for full context.
21
+ properties.setProperty("gov.nist.javax.sip.MESSAGE_PROCESSOR_FACTORY", "io.routr.sip.SafeNioMessageProcessorFactory");
19
22
  properties.setProperty("gov.nist.javax.sip.PATCH_SIP_WEBSOCKETS_HEADERS", "false");
20
23
  properties.setProperty("gov.nist.javax.sip.CACHE_CLIENT_CONNECTIONS", "true");
21
24
  properties.setProperty("gov.nist.javax.sip.REENTRANT_LISTENER", "false");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routr/edgeport",
3
- "version": "2.14.0",
3
+ "version": "2.15.0",
4
4
  "description": "SIP endpoint at the edge of the network",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/routr#readme",
@@ -29,11 +29,11 @@
29
29
  "url": "https://github.com/fonoster/routr/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@routr/common": "^2.13.20",
32
+ "@routr/common": "^2.15.0",
33
33
  "ajv": "^6.12.6",
34
34
  "fp-ts": "^2.11.8",
35
35
  "js-yaml": "^4.1.1",
36
36
  "toml": "^3.0.0"
37
37
  },
38
- "gitHead": "77f46af6828f802e95e161a451c60ce4952e463f"
38
+ "gitHead": "4cfe8529e9325b7a2f32aff615cf3db65c71cf29"
39
39
  }