[OpenSIPS-Devel] [OpenSIPS/opensips] 8024ab: str_strstr(): Fix unnecessary error log

2018-10-03 Thread Liviu Chircu
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8024abdebc8d6234daab3c051e0e9f43fc4bacac
  
https://github.com/OpenSIPS/opensips/commit/8024abdebc8d6234daab3c051e0e9f43fc4bacac
  Author: Liviu Chircu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M ut.h

  Log Message:
  ---
  str_strstr(): Fix unnecessary error log

(cherry picked from commit 640263ded013767b25a19eea8bf1276a5f6be5b0)



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] de8e95: str_strstr(): Fix unnecessary error log

2018-10-03 Thread Liviu Chircu
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: de8e95f8c38bb054fe6933cf1648db8ea0fc0262
  
https://github.com/OpenSIPS/opensips/commit/de8e95f8c38bb054fe6933cf1648db8ea0fc0262
  Author: Liviu Chircu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M ut.h

  Log Message:
  ---
  str_strstr(): Fix unnecessary error log

(cherry picked from commit 640263ded013767b25a19eea8bf1276a5f6be5b0)



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] edb3af: str_strstr(): Fix unnecessary error log

2018-10-03 Thread Liviu Chircu
  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: edb3af8d384a2f45b6c69ca961ac03fca22ad92d
  
https://github.com/OpenSIPS/opensips/commit/edb3af8d384a2f45b6c69ca961ac03fca22ad92d
  Author: Liviu Chircu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M ut.h

  Log Message:
  ---
  str_strstr(): Fix unnecessary error log

(cherry picked from commit 640263ded013767b25a19eea8bf1276a5f6be5b0)



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 1c5a24: One more old dangling DB variable fixed

2018-10-03 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1c5a24a8f35d7aa1303764765fc7fba28530c137
  
https://github.com/OpenSIPS/opensips/commit/1c5a24a8f35d7aa1303764765fc7fba28530c137
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/auth_db/checks.c

  Log Message:
  ---
  One more old dangling DB variable fixed



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 79b132: Fix old dangling variable for DB conn.

2018-10-03 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 79b13201ebea8c7c2aca4b92cc46b40043234a40
  
https://github.com/OpenSIPS/opensips/commit/79b13201ebea8c7c2aca4b92cc46b40043234a40
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/auth_db/checks.c

  Log Message:
  ---
  Fix old dangling variable for DB conn.

A leftover of 036ff18abcd1703317210a33a32667d9e1a3ea01



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 5b0634: Also support positional parameters for MI commands

2018-10-03 Thread Vlad Patrascu
  Branch: refs/heads/mi_rework
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5b06340c3195b5afb16c2f766fa0cab34ae4cbc7
  
https://github.com/OpenSIPS/opensips/commit/5b06340c3195b5afb16c2f766fa0cab34ae4cbc7
  Author: Vlad Patrascu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M blacklists.c
M evi/event_interface.c
M evi/event_interface.h
M mem/shm_mem.c
M mem/shm_mem.h
M mi/item.c
M mi/item.h
M mi/mi.c
M mi/mi.h
M mi/mi_core.c
M net/net_tcp.c
M net/net_tcp.h
M net/proto_tcp/proto_tcp.c
M statistics.c

  Log Message:
  ---
  Also support positional parameters for MI commands



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 640263: str_strstr(): Fix unnecessary error log

2018-10-03 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 640263ded013767b25a19eea8bf1276a5f6be5b0
  
https://github.com/OpenSIPS/opensips/commit/640263ded013767b25a19eea8bf1276a5f6be5b0
  Author: Liviu Chircu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M ut.h

  Log Message:
  ---
  str_strstr(): Fix unnecessary error log


  Commit: 2b264d0b8c0b8f25d1e895247a1f0f8697ae34e5
  
https://github.com/OpenSIPS/opensips/commit/2b264d0b8c0b8f25d1e895247a1f0f8697ae34e5
  Author: Liviu Chircu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M async.c
M async.h
M modules/event_routing/ebr_data.c
M modules/tm/async.c
M modules/tm/async.h
M net/net_tcp_proc.c
M net/net_udp.c
M timer.c

  Log Message:
  ---
  async/launch:  Prevent unnecessary pointer ref/deref

There is no need to provide a fd _reference_ to any of the async API
functions -- everyone just ignores this detail.  So we simplify the API
and make the code faster for now.


Compare: 
https://github.com/OpenSIPS/opensips/compare/76cf8f4513b0...2b264d0b8c0b
  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 402d0f: Properly set the custome values for the dr tables.

2018-10-03 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 402d0f498e1de0b19f8b83d7f34fc23210dbdbed
  
https://github.com/OpenSIPS/opensips/commit/402d0f498e1de0b19f8b83d7f34fc23210dbdbed
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Properly set the custome values for the dr tables.

IF set via modparam, be sure we recalculate the len of the new table name 
BEFORE we start using it :)
Thanks to @nikbyte and @kertor for report and help.
Closes #1479

(cherry picked from commit a9cd32d75530b79a365f9262f0f919285048cbf7)


  Commit: 4da6fa165a324ab9ce7127a4569752d4bd97955e
  
https://github.com/OpenSIPS/opensips/commit/4da6fa165a324ab9ce7127a4569752d4bd97955e
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Fix error logs in terms of missing newline or formating

(cherry picked from commit 76cf8f4513b0de4353ee52dec5e4df00f23dc493)


Compare: 
https://github.com/OpenSIPS/opensips/compare/179060bc349a...4da6fa165a32
  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 6efc7e: Properly set the custome values for the dr tables.

2018-10-03 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6efc7eecaa7bbd348d5e7507ec18b3489c8d9ec4
  
https://github.com/OpenSIPS/opensips/commit/6efc7eecaa7bbd348d5e7507ec18b3489c8d9ec4
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Properly set the custome values for the dr tables.

IF set via modparam, be sure we recalculate the len of the new table name 
BEFORE we start using it :)
Thanks to @nikbyte and @kertor for report and help.
Closes #1479

(cherry picked from commit a9cd32d75530b79a365f9262f0f919285048cbf7)


  Commit: fcc81db26a4ae4e42bd39a3306f43f5e0a79a750
  
https://github.com/OpenSIPS/opensips/commit/fcc81db26a4ae4e42bd39a3306f43f5e0a79a750
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Fix error logs in terms of missing newline or formating

(cherry picked from commit 76cf8f4513b0de4353ee52dec5e4df00f23dc493)


Compare: 
https://github.com/OpenSIPS/opensips/compare/ff86090c8db4...fcc81db26a4a
  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 6c6e27: Properly set the custome values for the dr tables.

2018-10-03 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6c6e271ceb4a0e2070f2372d8ac65c9176ce0761
  
https://github.com/OpenSIPS/opensips/commit/6c6e271ceb4a0e2070f2372d8ac65c9176ce0761
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Properly set the custome values for the dr tables.

IF set via modparam, be sure we recalculate the len of the new table name 
BEFORE we start using it :)
Thanks to @nikbyte and @kertor for report and help.
Closes #1479

(cherry picked from commit a9cd32d75530b79a365f9262f0f919285048cbf7)


  Commit: d3e0a86b9983e61c023782c29cc58b70dcb5d2fb
  
https://github.com/OpenSIPS/opensips/commit/d3e0a86b9983e61c023782c29cc58b70dcb5d2fb
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Fix error logs in terms of missing newline or formating

(cherry picked from commit 76cf8f4513b0de4353ee52dec5e4df00f23dc493)


Compare: 
https://github.com/OpenSIPS/opensips/compare/87376b703e22...d3e0a86b9983
  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 76cf8f: Fix error logs in terms of missing newline or form...

2018-10-03 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 76cf8f4513b0de4353ee52dec5e4df00f23dc493
  
https://github.com/OpenSIPS/opensips/commit/76cf8f4513b0de4353ee52dec5e4df00f23dc493
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Fix error logs in terms of missing newline or formating



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] a9cd32: Properly set the custome values for the dr tables.

2018-10-03 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a9cd32d75530b79a365f9262f0f919285048cbf7
  
https://github.com/OpenSIPS/opensips/commit/a9cd32d75530b79a365f9262f0f919285048cbf7
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Properly set the custome values for the dr tables.

IF set via modparam, be sure we recalculate the len of the new table name 
BEFORE we start using it :)
Thanks to @nikbyte and @kertor for report and help.
Closes #1479



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 2b4ed2: Migrated docs to reflect functionality migration f...

2018-10-03 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2b4ed273ee2076604e11c8245fd3629110d4705a
  
https://github.com/OpenSIPS/opensips/commit/2b4ed273ee2076604e11c8245fd3629110d4705a
  Author: Bogdan-Andrei Iancu 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M modules/auth_db/authdb_mod.c
M modules/auth_db/doc/auth_db_admin.xml
M modules/uri/doc/uri_admin.xml

  Log Message:
  ---
  Migrated docs to reflect functionality migration from URI to AUTH_DB module.

Related to 036ff18abcd1703317210a33a32667d9e1a3ea01



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] dfd795: pvars: fix incorrect mathching for "" strings

2018-10-03 Thread Razvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dfd795feafa3229eee32144b3b2a42a0bd4c74ee
  
https://github.com/OpenSIPS/opensips/commit/dfd795feafa3229eee32144b3b2a42a0bd4c74ee
  Author: Razvan Crainea 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M route.c

  Log Message:
  ---
  pvars: fix incorrect mathching for "" strings

Before this fix, opensips was reporting `"" !~ "[123]"` as `false`,
which is incorrect. On the other side, `"" =~ "[123]"` is reported on
`false` too, but this is correct. This commit makes the NULL and
0-lenght strings matching more consistent.

Kudos to Liviu Chircu for brainstorming this issue.



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] ac549a: async: fix fd leaking and invalid memory overwrite

2018-10-03 Thread Razvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ac549a0d5f3a084cd7034bf45b603f95c64025af
  
https://github.com/OpenSIPS/opensips/commit/ac549a0d5f3a084cd7034bf45b603f95c64025af
  Author: Razvan Crainea 
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
M async.c
M modules/tm/async.c

  Log Message:
  ---
  async: fix fd leaking and invalid memory overwrite

when calling `reactor_del_reader(*fd, ...)`, the `*fd` will become -1.
The reason is because `fd` points to a `io_wait_h->fd_no`, that will get
changed to `-1` at the end of the function. Hence the actual `*fd` value
will be lost, and `close(*fd)` is a no-op, resulting in original fd
leaking. Moreover, when assigning `*fd` a new value, we will be
overwriting the `io_wait_h->fd_no` in the reactor, resulting in
undefined behavior.
This commit stores the actual value of `*fd` in a local variable and
uses it throught the function, making sure the `io_wait_h->fd_no` is not
overwritten and the `close()` function is called on the proper fd.

Many thangs to Eric Tamme (lirakis) on IRC for reporting this.



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel