mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 06:00:36 +00:00
Merge "Bundled pjproject: Fix finding SIP transactions." into 13
This commit is contained in:
11
third-party/pjproject/patches/config_site.h
vendored
11
third-party/pjproject/patches/config_site.h
vendored
@@ -43,7 +43,16 @@
|
|||||||
#define PJ_DEBUG 0
|
#define PJ_DEBUG 0
|
||||||
#define PJSIP_SAFE_MODULE 0
|
#define PJSIP_SAFE_MODULE 0
|
||||||
#define PJ_HAS_STRICMP_ALNUM 0
|
#define PJ_HAS_STRICMP_ALNUM 0
|
||||||
#define PJ_HASH_USE_OWN_TOLOWER 1
|
|
||||||
|
/*
|
||||||
|
* Do not ever enable PJ_HASH_USE_OWN_TOLOWER because the algorithm is
|
||||||
|
* inconsistently used when calculating the hash value and doesn't
|
||||||
|
* convert the same characters as pj_tolower()/tolower(). Thus you
|
||||||
|
* can get different hash values if the string hashed has certain
|
||||||
|
* characters in it. (ASCII '@', '[', '\\', ']', '^', and '_')
|
||||||
|
*/
|
||||||
|
#undef PJ_HASH_USE_OWN_TOLOWER
|
||||||
|
|
||||||
/*
|
/*
|
||||||
It is imperative that PJSIP_UNESCAPE_IN_PLACE remain 0 or undefined.
|
It is imperative that PJSIP_UNESCAPE_IN_PLACE remain 0 or undefined.
|
||||||
Enabling it will result in SEGFAULTS when URIs containing escape sequences are encountered.
|
Enabling it will result in SEGFAULTS when URIs containing escape sequences are encountered.
|
||||||
|
|||||||
Reference in New Issue
Block a user