Mercurial > hg > freeDiameter
diff include/freeDiameter/CMakeLists.txt @ 935:6072619402a3
New CMake option WORKAROUND_ACCEPT_INVALID_VSAI for those invalids Vendor-Specific-Application-Id out there
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Sat, 09 Mar 2013 15:43:33 +0100 |
parents | 04f590da5821 |
children | d4371b7aa0ff |
line wrap: on
line diff
--- a/include/freeDiameter/CMakeLists.txt Thu Mar 07 16:13:50 2013 +0100 +++ b/include/freeDiameter/CMakeLists.txt Sat Mar 09 15:43:33 2013 +0100 @@ -28,8 +28,12 @@ # Note: if someone needs, we could also make the delay configurable here... OPTION(DISABLE_PEER_EXPIRY "Disable RFC3539 Peers Connections Expiration after inactivity?" OFF) +# The following workaround increases compatibility with some implementations without breaking anything in freeDiameter, +# so it can be enabled without risk. We keep it disabled by default anyway for those people who use freeDiameter to check the +# compliancy of their implementation with the Diameter RFC... +OPTION(WORKAROUND_ACCEPT_INVALID_VSAI "Do not reject a CER/CEA with a Vendor-Specific-Application-Id AVP containing both Auth- and Acct- application AVPs?" OFF) -MARK_AS_ADVANCED(DISABLE_SCTP DEBUG_SCTP SCTP_USE_MAPPED_ADDRESSES ERRORS_ON_TODO DIAMID_IDNA_IGNORE DIAMID_IDNA_REJECT DISABLE_PEER_EXPIRY) +MARK_AS_ADVANCED(DISABLE_SCTP DEBUG_SCTP SCTP_USE_MAPPED_ADDRESSES ERRORS_ON_TODO DIAMID_IDNA_IGNORE DIAMID_IDNA_REJECT DISABLE_PEER_EXPIRY WORKAROUND_ACCEPT_INVALID_VSAI) ######################## ### System checks part