Richard Fuchs
1f7d9e5bc9
MT#55283 improvements for clang
...
Change-Id: I7b817c94f34333e1e95199dce9619a1570de7964
2 months ago
Hossein Yavari
0b726872b7
MT#55283 Add configurable HTTP idle (keepalive) timeout
...
- Add --http-idle-timeout option (seconds; 0 = libwebsockets default, 5s for HTTP/1.1)
- Pass keepalive_timeout to libwebsockets when creating HTTP and HTTPS vhosts
- Reject negative values; default 0 preserves existing behaviour
- Document in docs/rtpengine.md and etc/rtpengine.conf
- Extend auto-daemon-tests-http.pl to run with --http-idle-timeout=5
Closes #2077
Change-Id: I134bd08a0b82aa95e8e7c28e75a65ca783cb91d9
2 months ago
Richard Fuchs
72ab151266
MT#55283 move uring conditions
...
Change-Id: If472d4c352d3e06faf87ab1f857e2fccb1c0d02d
3 months ago
Richard Fuchs
cc53062ca1
MT#55283 auto detect libiptc
...
Instead of having to manually disable legacy iptables support, auto
detect presence of libiptc and only include the feature if present.
Closes #2045
Change-Id: I649320727e9e9a565eabd369c683dfe6b6bdaec1
4 months ago
Richard Fuchs
645b5e1319
MT#55283 return flexible error strings
...
Change-Id: I0d6dee21901f85be1bfffaabe9c94e66073b99ba
5 months ago
Richard Fuchs
c5458cb933
MT#55283 support nftables INET family
...
closes #1732
Change-Id: I04c94aa4f35c55a8035eb0edadd9280c380590a3
5 months ago
Richard Fuchs
b324647699
MT#55283 create and delete native nftables rule
...
Adds option to fall back to legacy XT target.
Change-Id: Ieda628313d42159df9a6e6281a50d4b289ab8a0c
5 months ago
Richard Fuchs
ecd535f725
MT#55283 markup chain name
...
Change-Id: I78ad020a193056f2f7f067ed0cb72d6b5053157c
5 months ago
Richard Fuchs
cc5c0f07cb
MT#55283 only remove rules with matching table
...
Change-Id: I19fba3b41634e3d7bd6fd66b9c64430d7976f723
5 months ago
Richard Fuchs
d279b14a99
MT#55283 export poller thread stats
...
Change-Id: I5b8b2e6c791d27a1d29e982c72005aff38e7cd6d
5 months ago
Richard Fuchs
9196bb5f5d
MT#55283 track poller stats
...
Count number of wakeups and number of items per wakeup
Change-Id: I75eb53804f9690722a3908339bf9f606c8a8f4a9
5 months ago
Richard Fuchs
750c00618f
MT#55283 increase poller wait time to forever
...
Change-Id: I1df315d9f5382a974d67471f0f2eedec0eb9cb69
5 months ago
Richard Fuchs
11f92ac502
MT#55283 use g_new instead of g_malloc
...
Change-Id: I54a69b5ecfe0650653080e345a69b0c257682c70
5 months ago
Richard Fuchs
15effb7641
MT#55283 type-safe thread helpers
...
Change-Id: I90ba4347ed787eb63bad84287bea200fac5dbe82
5 months ago
Richard Fuchs
5263fb0098
MT#55283 pull down service ready notification
...
Change-Id: I1cd82828c15598ef7d2f6c868d3ea479ac3ed934
5 months ago
Harsh Daga
d45a29e3cd
MT#55283 adaptive jitter buffer
...
closes #2018
Change-Id: I94d4eb08e96fe33e149a03a647c6b13c814d7469
6 months ago
Richard Fuchs
1fdf5cf2ea
MT#55283 add TCP keepalives for Redis connections
...
Change-Id: Id16f7f0f547f45cbef95bc98ede67a30f01cf3b9
6 months ago
Richard Fuchs
923d99d60d
MT#55283 change default learning mode to heuristic
...
Change-Id: Ib974e61f7a413d8e808bb1342733744e5bcdb721
8 months ago
Richard Fuchs
ec841478d9
MT#55283 final release of all sockets at shutdown
...
Empty out the late release queue when shutting down.
Change-Id: I2969f4866a6a8414ec2e8422e40112d10be4f0dd
8 months ago
Richard Fuchs
116fc223d3
MT#55283 move subscribe-keyspace option
...
Put it together with the other Redis options for consistency.
Change-Id: Ic83da4f14717a302be94f23e45fa0a4bab9b986d
9 months ago
Richard Fuchs
3ce25d062c
MT#55283 version-guard lws buf size
...
Change-Id: Ib056bc7eb644eda07a26f0a5e91beb3a670e1719
10 months ago
Donat Zenichev
836423e33c
MT#61856 main: first static, then const
...
Fixes:
main.c: In function ‘options’:
main.c:1055:9: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
1055 | const static size_t max_buf_size =
| ^~~~~
Change-Id: I500785e712d94ff0969317edf3d7a256dc4e3182
10 months ago
Richard Fuchs
f5277e5c30
MT#55283 add http-buf-size option
...
closes #1950
Change-Id: I12047e7e6af8e0d927744a0dc70c5b4668420878
10 months ago
Richard Fuchs
2fdafa67d7
MT#55283 fix missing strdup
...
Add breakage to tests
Change-Id: Idec72d08f124d562e5112febd8a9114fe80cec68
12 months ago
Richard Fuchs
5d613020e6
MT#55283 add global bufferpool
...
These are normally held per thread, but in cases of threads not having
dedicated init/cleanup functions (GLib thread pool), we can use a global
one as fallback.
Fixes #1936
Change-Id: Ia2ff3523e6079baa73e0721862100ec2f8b66c88
12 months ago
Richard Fuchs
71addf5118
MT#62687 support codec preferences
...
Change-Id: Ib8eaca5b2223cf7eb40e9dc68e8ab05782bd4f99
1 year ago
Richard Fuchs
cf22d82932
MT#55283 eliminate input/output combination SSRC
...
Change-Id: I94636b7f6fb6fb31cd3bf332fffe0203e17f6c16
1 year ago
Richard Fuchs
4d5ff2401a
MT#55283 scale dtx timers
...
Change-Id: I296b56b8f77349addf384bf8bc3896b0b799f4bd
1 year ago
Richard Fuchs
6e07f40f47
MT#55283 scale mqtt_publish_interval
...
Change-Id: I7ed5d5ea275139a81a91126100af6edadafe66fd
1 year ago
Richard Fuchs
e12ba22a7c
MT#55283 scale redis timers
...
Change-Id: I8b9fcbb63ab096c7f1362f2df2f137258c45dc12
1 year ago
Richard Fuchs
180cb210cc
MT#55283 scale rtcp-interval
...
Change-Id: I2edc92d2fc2d707b93d7510ee69217b9ff5e07d5
1 year ago
Richard Fuchs
461de892c4
MT#55283 scale expire times
...
Change-Id: Ia7daea4471967797c404c4346b9786cd274067d8
1 year ago
Richard Fuchs
4eadfd2274
MT#55283 scale delete-delay
...
Change-Id: I61478a8f9d08921dd086735b96f6594e22690d30
1 year ago
Richard Fuchs
482166f0dc
MT#55283 scale offer-timeout
...
Change-Id: I35419b378eaef025ec32dce616fdd046d3e05c8e
1 year ago
Richard Fuchs
d3dc92aca9
MT#55283 scale final-timeout
...
Change-Id: I59f95f472477099cb71caebd828b2178f2577285
1 year ago
Richard Fuchs
3261098384
MT#55283 scale timeout
...
Change-Id: I23628cfcf4e5044300a01c1e15591746467df1ba
1 year ago
Richard Fuchs
9061ce05be
MT#55283 scale silent-timeout
...
Change-Id: I111628b82110df3b37922c2aeffae401abf782f8
1 year ago
Richard Fuchs
e92f260e7a
MT#55283 convert daemon/ to int64_t
...
Change-Id: Ie557204821fddfa5af0be96cc8f0ff2dd093fc7c
1 year ago
Richard Fuchs
5dd2b5bb74
MT#55283 convert graphite to int64_t
...
Change-Id: Ifeb8e560716330a5c3e573a355a90a46c3f68f30
1 year ago
Richard Fuchs
c70510303a
MT#55283 convert rtpe_now to int64_t
...
First step in converting (almost) all timeval uses to int64_t
Change-Id: If20fd749c61c278273c535b68287df7e6f042808
1 year ago
Richard Fuchs
0623b6b9de
MT#61625 tie codec-chain into transcode-config
...
Change-Id: Ida6e51b8b4ef3cefe738ccd1678ec86763e93711
1 year ago
Richard Fuchs
4d8156bf91
MT#55283 remove remnants of g_slice
...
The GLib slice allocator has been obsoleted. Having a mixture of two
allocators can lead to hidden issues on systems that use different
implementations. Take the leap and replace everything with g_new/g_free.
Change-Id: I025c8383ef47b2c2472573360407fd6a6ca339b3
1 year ago
Richard Fuchs
dd91f0ec11
MT#55283 centralise uring methods
...
Introduce struct to keep uring-specific thread-local method pointers
Change-Id: I7b0d1fd82cf5f3d114e8072553cb74054ac7e133
1 year ago
Donat Zenichev
9a3c54a523
MT#62272 Introduce `moh-prevent-double-hold` config option
...
Protects against double MoH played,
e.g. when inadvertently two rtpengine instances try to trigger MoH.
This gives a clue to the current rtpengine instance,
that another one already started MoH for this call.
By default is set to false.
Change-Id: I7cc36a177b0ce1bdb64ff8b42bf31f13fb1e4c91
1 year ago
Richard Fuchs
9bd5670f89
MT#55283 use fixed allocation size
...
Allocate all bufferpool shards of the same size, regardless of
underlying allocator. This way increase memory usage a bit, but we're
already quite heavy on that, so no big deal.
Change-Id: Icbe09cd2f9b33bc58ab1efe7de293dea00236fec
1 year ago
Richard Fuchs
1a98502a1b
MT#55283 used aligned memory for bufferpool
...
Use allocators that return memory blocks aligned to the requested size,
instead of generic malloc. This makes it easier to play tricks with the
memory blocks.
Change-Id: Iad4b1127c76e48c2e9b4ad8489118d4883a24f6a
1 year ago
Richard Fuchs
7dbcb578ab
MT#61625 add "transform" transcode handler
...
Change-Id: I9b9ef39859f196a9c0ea8a7aee657311a70a5d03
1 year ago
Richard Fuchs
6b5fac9dc7
MT#61625 add "transcode-config"
...
Adds a new config section that allows adjusting behaviour for certain
transcoding scenarios. This only adds the initial support for the config
option.
Change-Id: Ia3d43061adc540fab054e5c99ab804dc1ff53b84
1 year ago
Richard Fuchs
fb84336d1a
MT#61625 add global memory arena
...
Change-Id: I49c9f786d0826c090df348eb7ae600f6887611bd
1 year ago
Richard Fuchs
e72f7e4b0f
MT#61625 add ng_client code
...
Change-Id: If216cedc5b2ff81dadf1ec7d1df2b767c9dd3abc
1 year ago