sip-router
10 months agotls: proper dot position for matching subdomains
Daniel-Constantin Mierla [Thu, 29 Aug 2019 16:51:17 +0000 (18:51 +0200)]
tls: proper dot position for matching subdomains

- reported by GH #2049

10 months agosl: docs - set section ids in expected format
Daniel-Constantin Mierla [Thu, 29 Aug 2019 12:36:00 +0000 (14:36 +0200)]
sl: docs - set section ids in expected format

10 months agomodules: readme files regenerated - sl ... [skip ci]
Kamailio Dev [Wed, 28 Aug 2019 19:02:05 +0000 (21:02 +0200)]
modules: readme files regenerated - sl ... [skip ci]

10 months agosl: docs for new params event_callback_fl_ack and event_callback_lres_sent
Daniel-Constantin Mierla [Wed, 28 Aug 2019 18:55:12 +0000 (20:55 +0200)]
sl: docs for new params event_callback_fl_ack and event_callback_lres_sent

10 months agosl: added kemi callbacks for event routes
Daniel-Constantin Mierla [Wed, 28 Aug 2019 15:55:15 +0000 (17:55 +0200)]
sl: added kemi callbacks for event routes

- new parameters
  * event_callback_fl_ack - name of callback function for filtered-ack
  * event_callback_lres_sent - name of callback function for
  local-response

10 months agokamctl: regenerate database creation scripts after scheme extensions
Henning Westerholt [Tue, 27 Aug 2019 20:00:12 +0000 (22:00 +0200)]
kamctl: regenerate database creation scripts after scheme extensions

10 months agolib: change topos DB scheme for *contact from uri_len to contact_len, 512 (GH #2043)
Henning Westerholt [Tue, 27 Aug 2019 19:58:41 +0000 (21:58 +0200)]
lib: change topos DB scheme for *contact from uri_len to contact_len, 512 (GH #2043)

10 months agolib: change uri_len from 128 to 255 for DB scheme (GH #2043)
Henning Westerholt [Tue, 27 Aug 2019 19:55:00 +0000 (21:55 +0200)]
lib: change uri_len from 128 to 255 for DB scheme (GH #2043)

10 months agolib: use socket_len for location received and topos IP address DB scheme (no change...
Henning Westerholt [Tue, 27 Aug 2019 19:49:31 +0000 (21:49 +0200)]
lib: use socket_len for location received and topos IP address DB scheme (no change table definitions)

10 months ago- lib: use new introduced socket_len in topos and uacreg DB scheme (no actual change...
Henning Westerholt [Tue, 27 Aug 2019 19:41:33 +0000 (21:41 +0200)]
- lib: use new introduced socket_len in topos and uacreg DB scheme (no actual change in definition)

10 months agolib: add new DB scheme entity 'socket_len' with length 128 to prepare the change...
Henning Westerholt [Tue, 27 Aug 2019 19:38:14 +0000 (21:38 +0200)]
lib: add new DB scheme entity 'socket_len' with length 128 to prepare the change of uri_len

10 months agolib: use domain_len for dialog socket in database scheme (no change in table definitions)
Henning Westerholt [Tue, 27 Aug 2019 19:31:47 +0000 (21:31 +0200)]
lib: use domain_len for dialog socket in database scheme (no change in table definitions)

10 months agomodules: readme files regenerated - tm ... [skip ci]
Kamailio Dev [Tue, 27 Aug 2019 11:31:45 +0000 (13:31 +0200)]
modules: readme files regenerated - tm ... [skip ci]

10 months agotm: new parameter event_callback_lres_sent
Daniel-Constantin Mierla [Tue, 27 Aug 2019 11:21:15 +0000 (13:21 +0200)]
tm: new parameter event_callback_lres_sent

- set the name of callback function to be executed in KEMI scripts for
event_route[tm:local-response]

10 months agotm: docs for event_callback_lres_sent param
Daniel-Constantin Mierla [Tue, 27 Aug 2019 11:19:35 +0000 (13:19 +0200)]
tm: docs for event_callback_lres_sent param

10 months agotm: lookup envet route for local-response only once
Daniel-Constantin Mierla [Tue, 27 Aug 2019 11:02:18 +0000 (13:02 +0200)]
tm: lookup envet route for local-response only once

10 months agomodules: readme files regenerated - tm ... [skip ci]
Kamailio Dev [Tue, 27 Aug 2019 11:01:47 +0000 (13:01 +0200)]
modules: readme files regenerated - tm ... [skip ci]

10 months agotm: event_route[local-response] is actually executed after response is sent
Daniel-Constantin Mierla [Tue, 27 Aug 2019 10:49:20 +0000 (12:49 +0200)]
tm: event_route[local-response] is actually executed after response is sent

- change back after previous commit
- somehow it is incoherent with event_route[local-request] that is
before sending out, allowing to change the content

10 months agomodules: readme files regenerated - tm ... [skip ci]
Kamailio Dev [Tue, 27 Aug 2019 07:46:47 +0000 (09:46 +0200)]
modules: readme files regenerated - tm ... [skip ci]

10 months agotm: docs - include dockbook entities in event route file
Daniel-Constantin Mierla [Tue, 27 Aug 2019 07:36:39 +0000 (09:36 +0200)]
tm: docs - include dockbook entities in event route file

10 months agomodules: readme files regenerated - tm ... [skip ci]
Kamailio Dev [Tue, 27 Aug 2019 07:31:51 +0000 (09:31 +0200)]
modules: readme files regenerated - tm ... [skip ci]

10 months agoMerge pull request #2047 from kamailio/grumvalski/siptrace_fix
Federico Cabiddu [Tue, 27 Aug 2019 07:26:48 +0000 (09:26 +0200)]
Merge pull request #2047 from kamailio/grumvalski/siptrace_fix

siptrace: check if trace_to_database is set before checking the db co…

10 months agotm: docs - clarifications about event routes
Daniel-Constantin Mierla [Tue, 27 Aug 2019 07:17:18 +0000 (09:17 +0200)]
tm: docs - clarifications about event routes

10 months agopkg/kamailio/alpine: packaged MongoDB module [skip ci]
Sergey Safarov [Tue, 27 Aug 2019 06:03:20 +0000 (09:03 +0300)]
pkg/kamailio/alpine: packaged MongoDB module [skip ci]

10 months agopkg/docker: updated submodule
Sergey Safarov [Wed, 14 Aug 2019 12:41:15 +0000 (15:41 +0300)]
pkg/docker: updated submodule

10 months agoMerge pull request #2040 from kamailio/set_rtpengine_set
juha-h [Mon, 26 Aug 2019 18:43:53 +0000 (21:43 +0300)]
Merge pull request #2040 from kamailio/set_rtpengine_set

modules/rtpengine: set_rtpengine_set fix

10 months agosiptrace: check if trace_to_database is set before checking the db connection grumvalski/siptrace_fix 2047/head
Federico Cabiddu [Mon, 26 Aug 2019 18:21:13 +0000 (20:21 +0200)]
siptrace: check if trace_to_database is set before checking the db connection

10 months agomodules: readme files regenerated - tm ... [skip ci]
Kamailio Dev [Mon, 26 Aug 2019 14:02:22 +0000 (16:02 +0200)]
modules: readme files regenerated - tm ... [skip ci]

10 months agotm: docs - note about kemi for on_sl_reply parameter
Daniel-Constantin Mierla [Mon, 26 Aug 2019 13:52:29 +0000 (15:52 +0200)]
tm: docs - note about kemi for on_sl_reply parameter

10 months agotm: execute on_sl_reply callback via kemi
Daniel-Constantin Mierla [Mon, 26 Aug 2019 13:49:42 +0000 (15:49 +0200)]
tm: execute on_sl_reply callback via kemi

- the value of the parameter on_sl_reply has to be the kemi function
name

10 months agotm: lookup on_sl_reply route in mod_init()
Daniel-Constantin Mierla [Mon, 26 Aug 2019 11:31:29 +0000 (13:31 +0200)]
tm: lookup on_sl_reply route in mod_init()

- moved from fixup during modparam to store the name of the route block

10 months agowebsocket: remove core stats.h #include, remove no-op #defines as well
Henning Westerholt [Sun, 25 Aug 2019 11:27:05 +0000 (13:27 +0200)]
websocket: remove core stats.h #include, remove no-op #defines as well

10 months agotls: remove core stats.h #include, add necessary system #include for open(..)
Henning Westerholt [Sun, 25 Aug 2019 11:26:34 +0000 (13:26 +0200)]
tls: remove core stats.h #include, add necessary system #include for open(..)

10 months agocore: remove STATS #define, depends on non-existing module, does not compile
Henning Westerholt [Sun, 25 Aug 2019 11:16:45 +0000 (13:16 +0200)]
core: remove STATS #define, depends on non-existing module, does not compile

- remove STATS #define, depends on non-existing snmp module, does not compile
- could be used to print e.g. number of packets on SIGUSR1
- these numbers were reported through SNMP
- replaced by Kamailio statistics support
- remove stats.c and stats.h files

10 months agocore: kemi - warning when using an unsupported method flag for is_method_in()
Daniel-Constantin Mierla [Sat, 24 Aug 2019 14:22:16 +0000 (16:22 +0200)]
core: kemi - warning when using an unsupported method flag for is_method_in()

10 months agocore: kemi - fix matching update for is_method_in("U")
Daniel-Constantin Mierla [Sat, 24 Aug 2019 14:09:45 +0000 (16:09 +0200)]
core: kemi - fix matching update for is_method_in("U")

10 months agouac: small whitespace change in docs
Henning Westerholt [Sat, 24 Aug 2019 10:29:57 +0000 (12:29 +0200)]
uac: small whitespace change in docs

10 months agomodules: readme files regenerated - uac ... [skip ci]
Kamailio Dev [Sat, 24 Aug 2019 10:01:42 +0000 (12:01 +0200)]
modules: readme files regenerated - uac ... [skip ci]

10 months agouac: add functionality to specify a custom socket for each uacreg table entry
Henning Westerholt [Sat, 24 Aug 2019 09:57:07 +0000 (11:57 +0200)]
uac: add functionality to specify a custom socket for each uacreg table entry

- add functionality to specify a custom socket for each uacreg table entry
- necessary if you need to REGISTER over different outgoing interfaces with uac
- add socket column to module database schemes
- bump uacreg database table version from 3 to 4
- add database version check helper to module
- extend RPC commands to output and also add this value
- add documentation for the new functionality

10 months agomodules: readme files regenerated - ims_registrar_scscf ... [skip ci]
Kamailio Dev [Sat, 24 Aug 2019 08:47:22 +0000 (10:47 +0200)]
modules: readme files regenerated - ims_registrar_scscf ... [skip ci]

10 months agoims_registrar_scscf : document title is fixed
Yasin CANER [Sat, 24 Aug 2019 06:13:26 +0000 (09:13 +0300)]
ims_registrar_scscf : document title is fixed

Document title is fixed

10 months agoMerge pull request #2038 from surendratiwari3/memory_leak_rtpengine
Daniel-Constantin Mierla [Fri, 23 Aug 2019 07:46:40 +0000 (09:46 +0200)]
Merge pull request #2038 from surendratiwari3/memory_leak_rtpengine

Module:rtpengine: memory leak is fixed, if no rtpengine in list

10 months agomodules/rtpengine: set_rtpengine_set fix set_rtpengine_set 2040/head
Juha Heinanen [Fri, 23 Aug 2019 07:05:33 +0000 (10:05 +0300)]
modules/rtpengine: set_rtpengine_set fix

10 months agouac: remove obselete DB definition from source code
Henning Westerholt [Thu, 22 Aug 2019 20:28:11 +0000 (22:28 +0200)]
uac: remove obselete DB definition from source code

10 months agodialog: run dlg callbacks also for PRACK requests (as done for "other" requests)
Henning Westerholt [Tue, 20 Aug 2019 20:24:30 +0000 (22:24 +0200)]
dialog: run dlg callbacks also for PRACK requests (as done for "other" requests)

- run dlg callbacks also for PRACK requests (as done for "other" requests)
- bugfix for uac module in auto mode with dialog storage for PRACK requests

10 months agobuild: lost module depends (also via http_client) on curl library, correct group
Henning Westerholt [Tue, 20 Aug 2019 19:44:36 +0000 (21:44 +0200)]
build: lost module depends (also via http_client) on curl library, correct group

10 months agocore: tcp - new global parameter tcp_connection_match
Daniel-Constantin Mierla [Tue, 20 Aug 2019 11:48:48 +0000 (13:48 +0200)]
core: tcp - new global parameter tcp_connection_match

- control how the connection is matched
- set it to 1 to force a more strict matching trying to lookup using
local port as well, not only remote ip/port and local address
- default 0 - exiting behaviour

10 months agotm: set send socket flag when computing the destination and local socket is found
Daniel-Constantin Mierla [Tue, 20 Aug 2019 10:07:30 +0000 (12:07 +0200)]
tm: set send socket flag when computing the destination and local socket is found

10 months agopv: added {s.count,c} transformation
Daniel-Constantin Mierla [Tue, 20 Aug 2019 09:17:17 +0000 (11:17 +0200)]
pv: added {s.count,c} transformation

- count how many times c appears in the pv value
   "abababa"{s.count,a} => 4

10 months agoModule:rtpengine: memory leak is fixed, if no rtpengine in list while reload 2038/head
Surendra Tiwari [Tue, 20 Aug 2019 07:47:04 +0000 (13:17 +0530)]
Module:rtpengine: memory leak is fixed, if no rtpengine in list while reload

10 months agomodules: readme files regenerated - lost ... [skip ci]
Kamailio Dev [Mon, 19 Aug 2019 09:47:13 +0000 (11:47 +0200)]
modules: readme files regenerated - lost ... [skip ci]

10 months agocore: tcp - debug messages when looking up tcp connection
Daniel-Constantin Mierla [Mon, 19 Aug 2019 09:37:03 +0000 (11:37 +0200)]
core: tcp - debug messages when looking up tcp connection

10 months agotm: propagate tcp connection id in outbound branch dst structure
Daniel-Constantin Mierla [Mon, 19 Aug 2019 09:23:31 +0000 (11:23 +0200)]
tm: propagate tcp connection id in outbound branch dst structure

10 months agocore: dset - comment to document return code for getting branch data
Daniel-Constantin Mierla [Mon, 19 Aug 2019 09:00:41 +0000 (11:00 +0200)]
core: dset - comment to document return code for getting branch data

- differentiate when returning data for valid or invalid branch index

10 months agocore: dset - function to link branch data in a structure
Daniel-Constantin Mierla [Mon, 19 Aug 2019 08:32:46 +0000 (10:32 +0200)]
core: dset - function to link branch data in a structure

- existing functions to retrive branch attributes have too many parameters already

10 months agolost: docs - note that http_client param query_result has to be set to 0
Daniel-Constantin Mierla [Mon, 19 Aug 2019 08:26:16 +0000 (10:26 +0200)]
lost: docs - note that http_client param query_result has to be set to 0

10 months agomodules: readme files regenerated - lost ... [skip ci]
Kamailio Dev [Fri, 16 Aug 2019 21:01:36 +0000 (23:01 +0200)]
modules: readme files regenerated - lost ... [skip ci]

10 months agoevapi: use a completely new fake message structure for dispatcher handling
Daniel-Constantin Mierla [Fri, 16 Aug 2019 10:57:33 +0000 (12:57 +0200)]
evapi: use a completely new fake message structure for dispatcher handling

10 months agocore: clear branches and expose the function for a new faked msg
Daniel-Constantin Mierla [Fri, 16 Aug 2019 10:56:49 +0000 (12:56 +0200)]
core: clear branches and expose the function for a new faked msg

10 months agocore: function to get a new faked message in a specific structure
Daniel-Constantin Mierla [Fri, 16 Aug 2019 10:37:58 +0000 (12:37 +0200)]
core: function to get a new faked message in a specific structure

- refactored the code to be able to fill a sip msg structure with
content from the faked request

10 months agoregistrar: lookup() sets the tcp connection id in sip msg and branch structures
Daniel-Constantin Mierla [Fri, 16 Aug 2019 09:06:42 +0000 (11:06 +0200)]
registrar: lookup() sets the tcp connection id in sip msg and branch structures

10 months agocore: dset - function to push a new branch and return its pointer
Daniel-Constantin Mierla [Fri, 16 Aug 2019 09:05:35 +0000 (11:05 +0200)]
core: dset - function to push a new branch and return its pointer

10 months agocore: store tcp connection id in sip msg and branch structure
Daniel-Constantin Mierla [Fri, 16 Aug 2019 08:42:43 +0000 (10:42 +0200)]
core: store tcp connection id in sip msg and branch structure

- try to use it to identify outbound connection for stateless forward()

10 months agocore: tcp - new core parameter tcp_accept_unique
Daniel-Constantin Mierla [Fri, 16 Aug 2019 08:11:21 +0000 (10:11 +0200)]
core: tcp - new core parameter tcp_accept_unique

- if set to 1, do an extra check when a new connection is created to be
sure the is no overlapping with another connection on local ip/port and
remote ip/port
- recently some tcp/ip router/balancers can do port sharing, but that can create
troubles for routing of the requests with the current tcp routing implementation
(e.g., using the wrong connection in such group)
- default is set to 0

10 months agolost: small spelling fix in docs
Henning Westerholt [Fri, 16 Aug 2019 06:16:03 +0000 (08:16 +0200)]
lost: small spelling fix in docs

10 months agobuild: add new lost module to extra module group
Henning Westerholt [Fri, 16 Aug 2019 06:15:24 +0000 (08:15 +0200)]
build: add new lost module to extra module group

10 months agolost: initial checkin of README file
Henning Westerholt [Fri, 16 Aug 2019 06:09:52 +0000 (08:09 +0200)]
lost: initial checkin of README file

10 months agolost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing
wkampich [Wed, 14 Aug 2019 18:36:37 +0000 (20:36 +0200)]
lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing

- header comment included

10 months agolost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing
wkampich [Wed, 14 Aug 2019 18:22:04 +0000 (20:22 +0200)]
lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing

- code review, updates to memory managment and error handling

10 months agolost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing
wkampich [Wed, 14 Aug 2019 18:13:33 +0000 (20:13 +0200)]
lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing

- code review, updates to memory managment and error handling

10 months agolost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing
wkampich [Mon, 12 Aug 2019 13:04:38 +0000 (15:04 +0200)]
lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing

- lost_held_query() takes specific id (pvar, P-A-I, or From), assembles a
  locationRequest (XML), and sends it to an http_client connection, responses
  are parsed (pidf-lo and location reference are returned)
- lost_query() takes pidf-lo (pvar, msg body, or de-referenced), a service urn
  (pvar, request line) assembles a findService request (XML), and sends it to
  an http_client connection, responses are parsed (target uri and display name
  are returned)

10 months agotopos_redis: fix regression in PRACK routing (commit cfc89db53c087, GH #1784)
Henning Westerholt [Thu, 15 Aug 2019 14:25:57 +0000 (16:25 +0200)]
topos_redis: fix regression in PRACK routing (commit cfc89db53c087, GH #1784)

- fix regression in PRACK routing (introduced in cfc89db53c, GH #1784)
- result set were set to 0 before usage by a memset

10 months agotopos_redis: a few improvements for debugging output
Henning Westerholt [Thu, 15 Aug 2019 14:23:58 +0000 (16:23 +0200)]
topos_redis: a few improvements for debugging output

10 months agoims_dialog: small spelling fix in WARN log messages
Henning Westerholt [Thu, 15 Aug 2019 06:46:18 +0000 (08:46 +0200)]
ims_dialog: small spelling fix in WARN log messages

10 months agodialog: small spelling fix in WARN log messages
Henning Westerholt [Thu, 15 Aug 2019 06:45:37 +0000 (08:45 +0200)]
dialog: small spelling fix in WARN log messages

10 months agoevapi: free the faked msg clone used for dispatcher event route
Daniel-Constantin Mierla [Thu, 15 Aug 2019 06:33:49 +0000 (08:33 +0200)]
evapi: free the faked msg clone used for dispatcher event route

10 months agosqlops: add a limit of maximum 32 result containers
Daniel-Constantin Mierla [Wed, 14 Aug 2019 07:53:17 +0000 (09:53 +0200)]
sqlops: add a limit of maximum 32 result containers

- prevent use of too much memory by defining too many result containers
- related to GH #2032

10 months agorr: use msg_ctx_id_t for caching of request direction
Daniel-Constantin Mierla [Tue, 13 Aug 2019 14:37:01 +0000 (16:37 +0200)]
rr: use msg_ctx_id_t for caching of request direction

10 months agorr: use msg_ctx_id_t for record route params caching
Daniel-Constantin Mierla [Tue, 13 Aug 2019 14:28:44 +0000 (16:28 +0200)]
rr: use msg_ctx_id_t for record route params caching

10 months agomodules: readme files regenerated - rr ... [skip ci]
Kamailio Dev [Tue, 13 Aug 2019 14:16:41 +0000 (16:16 +0200)]
modules: readme files regenerated - rr ... [skip ci]

10 months agorr: docs - note about use of record_route() for requests within dialog
Daniel-Constantin Mierla [Tue, 13 Aug 2019 14:05:45 +0000 (16:05 +0200)]
rr: docs - note about use of record_route() for requests within dialog

- it has to be used after loose_route() for a proper detection of
request direction

10 months agomodules: readme files regenerated - registrar ... [skip ci]
Kamailio Dev [Tue, 13 Aug 2019 08:16:43 +0000 (10:16 +0200)]
modules: readme files regenerated - registrar ... [skip ci]

10 months agoregistrar: updated docs for unregister()
Daniel-Constantin Mierla [Tue, 13 Aug 2019 08:03:32 +0000 (10:03 +0200)]
registrar: updated docs for unregister()

- function is allowed to be used in any route

10 months agoregistrar: allow unregister() to be used in any route
Daniel-Constantin Mierla [Tue, 13 Aug 2019 08:01:35 +0000 (10:01 +0200)]
registrar: allow unregister() to be used in any route

10 months agomodules: readme files regenerated - http_client ... [skip ci]
Kamailio Dev [Tue, 13 Aug 2019 07:32:20 +0000 (09:32 +0200)]
modules: readme files regenerated - http_client ... [skip ci]

10 months agohttp_client: docs for query_maxdatasize parameter
Daniel-Constantin Mierla [Tue, 13 Aug 2019 07:25:15 +0000 (09:25 +0200)]
http_client: docs for query_maxdatasize parameter

10 months agohttp_client: new param query_maxdatasize
Daniel-Constantin Mierla [Tue, 13 Aug 2019 07:20:08 +0000 (09:20 +0200)]
http_client: new param query_maxdatasize

- set the maximum size to be downloaded for http_client_query() result
- default: 0 - disabled (unlimited size)

10 months agohttp_client: docs for query_result parameter
Daniel-Constantin Mierla [Tue, 13 Aug 2019 07:15:43 +0000 (09:15 +0200)]
http_client: docs for query_result parameter

10 months agohttp_client: new param query_result
Daniel-Constantin Mierla [Tue, 13 Aug 2019 07:07:34 +0000 (09:07 +0200)]
http_client: new param query_result

- control if the http_client_query() returns only the first line or the
entire result
   - 0: return the entire result
   - 1: return the first line (default, backward compatible)

10 months agomodules: readme files regenerated - topos ... [skip ci]
Kamailio Dev [Mon, 12 Aug 2019 19:01:45 +0000 (21:01 +0200)]
modules: readme files regenerated - topos ... [skip ci]

10 months agotopos: docs for dialog_expire param limitation for in-dialog requests (GH #2024)
Henning Westerholt [Mon, 12 Aug 2019 18:52:50 +0000 (20:52 +0200)]
topos: docs for dialog_expire param limitation for in-dialog requests (GH #2024)

10 months agodispatcher: skip inactive destinations for pointing next to be used record
Daniel-Constantin Mierla [Mon, 12 Aug 2019 18:15:17 +0000 (20:15 +0200)]
dispatcher: skip inactive destinations for pointing next to be used record

10 months agoMerge pull request #2022 from mancasg/master
Daniel-Constantin Mierla [Mon, 12 Aug 2019 09:37:11 +0000 (11:37 +0200)]
Merge pull request #2022 from mancasg/master

core: Fix the cfg framework variable input type default

10 months agocorex: free old outbound buffer inside SREV_NET_DATA_OUT callback
Daniel-Constantin Mierla [Mon, 12 Aug 2019 09:18:39 +0000 (11:18 +0200)]
corex: free old outbound buffer inside SREV_NET_DATA_OUT callback

10 months agogzcompress: free old outbound buffer inside SREV_NET_DATA_OUT callback
Daniel-Constantin Mierla [Mon, 12 Aug 2019 09:18:21 +0000 (11:18 +0200)]
gzcompress: free old outbound buffer inside SREV_NET_DATA_OUT callback

10 months agodialog: free old outbound buffer inside SREV_NET_DATA_OUT callback
Daniel-Constantin Mierla [Mon, 12 Aug 2019 09:18:08 +0000 (11:18 +0200)]
dialog: free old outbound buffer inside SREV_NET_DATA_OUT callback

10 months agotopos: free old outbound buffer inside SREV_NET_DATA_OUT callback
Daniel-Constantin Mierla [Mon, 12 Aug 2019 09:17:33 +0000 (11:17 +0200)]
topos: free old outbound buffer inside SREV_NET_DATA_OUT callback

- GH #2027

10 months agotopoh: free old outbound buffer inside th_msg_sent()
Daniel-Constantin Mierla [Mon, 12 Aug 2019 09:16:23 +0000 (11:16 +0200)]
topoh: free old outbound buffer inside th_msg_sent()

- GH #2027

10 months agocore: forward - clone outbound buffer for SREV_NET_DATA_OUT event
Daniel-Constantin Mierla [Mon, 12 Aug 2019 09:14:38 +0000 (11:14 +0200)]
core: forward - clone outbound buffer for SREV_NET_DATA_OUT event

- this event can execute a series of callbacks, leading to leak if only
the core function does pkg free
- GH #2027

10 months agocore: restore alignment after replacing mem error logs
Daniel-Constantin Mierla [Mon, 12 Aug 2019 08:28:05 +0000 (10:28 +0200)]
core: restore alignment after replacing mem error logs