aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
AgeCommit message (Collapse)Author
2012-08-31Fix answer-message blunderAnders Svensson
2012-08-23Allow an answer to opt out of setting Result-Code/Failed-AVPAnders Svensson
By returning it in a length 1 list from a handle_request callback. This is the aforementioned roll your own.
2012-08-23Set Result-Code as an optional AVP in reply to request containing errorsAnders Svensson
Previously assumed it had arity 1, which is not necessarily the case. Whether or not we should do this is probably debatable. There should at least be a way for the user to roll their own.
2012-08-23Fix Destination-Host/Realm extraction for arbitrary dictionariesAnders Svensson
2012-08-22Fix result code statistics for arbitrary dictionariesAnders Svensson
The code assumed the common dictionary, which was just plain wrong.
2012-08-22Count incoming answers containing AVP decode errorsAnders Svensson
2012-08-22Fix counter typoAnders Svensson
2012-07-04Encode fixAnders Svensson
The header is used when incrementing counters. Sending answers in the list form was broken because of this.
2012-03-26Update include paths in example codeAnders Svensson
Paths changed as a consequence of OTP-9638. Don't use paths under src however, assume an installation.
2012-03-26appup for OTP-9824Anders Svensson
2012-03-26vsn -> 1.1Anders Svensson
2011-12-20Merge branch 'anders/diameter/testsuites/OTP-9829' into maintAnders Svensson
* anders/diameter/testsuites/OTP-9829: (21 commits) Install example dictionaries Move example code to examples/code Move example dictionaries to examples/dict Set name/prefix at compilation, not in dictionaries Add RFC 4004 (MIP) dictionary Add RFC 4740 (SIP) dictionary Add RFC 4072 (EAP) dictionary Add RFC 4006 (CC) dictionary Add RFC 4005 (NAS) dictionary Add standards testcase to compiler suite Remove {init,end}_per_group workaround Use new syntax for specifying ct group properties Increase timetrap in compiler suite Minor capx suite tweaks Minor makefile tweak Remove trailing whitespace Update skip condition in gen_sctp suite Reintroduce gen_sctp suite Remove delay from connect in transport suite Add codec testcase for decode of unknown AVPs ...
2011-12-20Merge branch 'anders/diameter/compilation_options/OTP-9826' into maintAnders Svensson
* anders/diameter/compilation_options/OTP-9826: Allow module name mapping at dictionary compilation Fix blunder that broke name/prefix compilation options
2011-12-16Install example dictionariesAnders Svensson
2011-12-16Move example code to examples/codeAnders Svensson
2011-12-16Move example dictionaries to examples/dictAnders Svensson
2011-12-16Set name/prefix at compilation, not in dictionariesAnders Svensson
To avoid inappropriate defaults if the dictionaries are reused.
2011-12-16Add RFC 4004 (MIP) dictionaryAnders Svensson
2011-12-16Add RFC 4740 (SIP) dictionaryAnders Svensson
2011-12-16Add RFC 4072 (EAP) dictionaryAnders Svensson
2011-12-16Add RFC 4006 (CC) dictionaryAnders Svensson
2011-12-16Add RFC 4005 (NAS) dictionaryAnders Svensson
2011-12-16Add standards testcase to compiler suiteAnders Svensson
To test compilation of example dictionaries from various standards.
2011-12-16Remove {init,end}_per_group workaroundAnders Svensson
This undoes commit 162c0d3ee30790ec5a75e20b0e2e8bc61ed92375.
2011-12-16Use new syntax for specifying ct group propertiesAnders Svensson
No longer have to duplicate groups for sequential and parallel runs.
2011-12-16Increase timetrap in compiler suiteAnders Svensson
Compilation is slow on Solaris for one.
2011-12-16Minor capx suite tweaksAnders Svensson
2011-12-16Minor makefile tweakAnders Svensson
2011-12-16Remove trailing whitespaceAnders Svensson
2011-12-16Update skip condition in gen_sctp suiteAnders Svensson
To the R15 behaviour, with a return value instead of badarg.
2011-12-16Reintroduce gen_sctp suiteAnders Svensson
Commit e05868f49b442c10cedbded390c110473cda6f00 was the original, this commit is the result of splitting that one in two. Resurrect this suite to make SCTP faults more visible: the transport suite has sporadic failures because of them, despite having jacked up timeouts to unreasonable values.
2011-12-16Remove delay from connect in transport suiteAnders Svensson
There should be no need for it, previous introduction was misguided.
2011-12-16Add codec testcase for decode of unknown AVPsAnders Svensson
2011-12-16Handle only error return as evidence of no SCTPAnders Svensson
That is, remove the catch for the pre-R15 behaviour.
2011-12-16Allow module name mapping at dictionary compilationAnders Svensson
This is to make the 'inherits' option usable with dictionaries that inherit specific AVPs. Something like "diameterc -inherts from/to" effectively replaces "@inherits from" in the source dictionary with "@inherits to".
2011-12-16Fix blunder that broke name/prefix compilation optionsAnders Svensson
2011-12-16Update watchdog suiteAnders Svensson
2011-12-16Ensure capabilities exchange can't fail too earlyAnders Svensson
In particular, not before the service process has a monitor on the watchdog since the watchdog's exit reason is meaningful.
2011-12-12Prepare releaseErlang/OTP
2011-12-09Merge branch 'anders/diameter/suites_and_dialyzer/OTP-9781'Anders Svensson
* anders/diameter/suites_and_dialyzer/OTP-9781: Tell dialyzer not to warn about unused functions Add compiler testcases for generation and compilation to beam Fix semantic checks on AVP qualifiers Minor codegen/debug fix Deal with crypto:start() failure in TLS suite Don't assume empty sndrcvinfo in diameter_sctp
2011-12-08Tell dialyzer not to warn about unused functionsAnders Svensson
Depending on the dictionary, generated dictionary modules may contain unused functions included from diameter_gen.hrl. There may still be warnings however since even used functions can contain code that isn't reached for a given dictionary. It would be useful for diameter to generate spec attributes for a dictionary's generated records but the format of these is currently undocumented.
2011-12-08Add compiler testcases for generation and compilation to beamAnders Svensson
2011-12-08Fix semantic checks on AVP qualifiersAnders Svensson
Didn't quite interpret '*' as RFC 3588 dictates. In particular, the interpretation depends on what's being qualified, a required, optional or fixed AVP.
2011-12-08Minor codegen/debug fixAnders Svensson
Writing a dictionary to file failed.
2011-12-07Deal with crypto:start() failure in TLS suiteAnders Svensson
2011-12-07Merge branch 'anders/diameter/suites_and_dialyzer/OTP-9781'Anders Svensson
* anders/diameter/suites_and_dialyzer/OTP-9781: Minor diameter_dict_scanner fix Skip sctp tests on {error, esocktnosupport} Ensure that TLS will be available in TLS suite
2011-12-07Merge branch 'anders/diameter/callback_redirection/OTP-9777'Anders Svensson
* anders/diameter/callback_redirection/OTP-9777: Update documentation Use diameter_callback in relay and tls suites Use diameter_callback in failover suite Update app suite Smarter diameter_callback
2011-12-07Merge branch 'anders/diameter/dict_error_identification/OTP-9639'Anders Svensson
* anders/diameter/dict_error_identification/OTP-9639: (27 commits) Update documentation Improve base_rfc3588.dia formatting Make typo fix backwards compatible Fix base_rfc3588.dia typo Check compiler dependencies in app suite Move type definitions into diameter.erl Fix interpretation of vendor id in @grouped Add range checks on dictionary integers Don't explicitly load inherited modules Tweak diameter_make interface Add format testcase to compiler suite Add diameter_dict_util:format/1 for reconstructing a dictionary file Make diameter_types usable with @codecs Minor codegen tweaks Remove unnecessary includes Add compiler suite Update app suite Update codec suite Vendor id fixes No longer inherit common dictionary in relay dictionary ...
2011-12-07Don't assume empty sndrcvinfo in diameter_sctpAnders Svensson
It isn't always the case. The information isn't currently used in any case.
2011-12-06Minor diameter_dict_scanner fixAnders Svensson
Spec was wrong. Scanning a file that ended with $' or contained an empty $'-delimited string would have failed.