siproxd: update to version 0.8.3, improve logging and memory usage
[feed/telephony.git] / net / siproxd / patches / 005-reduce-rtpproxy-urlmap-size.patch
1 diff -urN siproxd-0.8.3/src/siproxd.h siproxd-0.8.3-patch/src/siproxd.h
2 --- siproxd-0.8.3/src/siproxd.h 2019-11-09 09:42:04.000000000 -0800
3 +++ siproxd-0.8.3-patch/src/siproxd.h 2020-09-04 20:02:47.961246801 -0700
4 @@ -282,13 +282,13 @@
5 #define TCP_IDLE_TO 300 /* TCP connection idle timeout in seconds */
6 #define TCP_CONNECT_TO 500 /* TCP connect() timeout in msec */
7
8 -#define URLMAP_SIZE 512 /* number of URL mapping table entries */
9 +#define URLMAP_SIZE 128 /* number of URL mapping table entries */
10 /* this limits the number of clients! */
11
12 #define SOURCECACHE_SIZE 256 /* number of return addresses */
13 #define DEJITTERLIMIT 1500000 /* max value for dejitter configuration */
14
15 -#define RTPPROXY_SIZE 1024 /* number of rtp proxy entries */
16 +#define RTPPROXY_SIZE 256 /* number of rtp proxy entries */
17 /* this limits the number of calls! */
18
19 #define BUFFER_SIZE 8196 /* input buffer for read from socket */