diff options
author | Anders Svensson <[email protected]> | 2013-02-11 00:04:37 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-02-16 18:34:42 +0100 |
commit | c9ca7f7e836dc6a4fe91fd4d7103af6d4db76f0e (patch) | |
tree | c9e26b79b00e5a6df5bd2567674dd8f7ffefcc91 /lib/diameter/include/diameter.hrl | |
parent | bbf692965470a9e993e1afd6f1a9375cbe832fcb (diff) | |
download | otp-c9ca7f7e836dc6a4fe91fd4d7103af6d4db76f0e.tar.gz otp-c9ca7f7e836dc6a4fe91fd4d7103af6d4db76f0e.tar.bz2 otp-c9ca7f7e836dc6a4fe91fd4d7103af6d4db76f0e.zip |
Add application_opt() request_errors
Configuring the value 'callback' all errors detected in incoming
requests to result in a handle_request callback. The default value
'answer_3xxx' is the previous behaviour in which diameter answers
protocol errors without a callback.
Diffstat (limited to 'lib/diameter/include/diameter.hrl')
-rw-r--r-- | lib/diameter/include/diameter.hrl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/include/diameter.hrl b/lib/diameter/include/diameter.hrl index 5ee898c3dd..513665cec1 100644 --- a/lib/diameter/include/diameter.hrl +++ b/lib/diameter/include/diameter.hrl @@ -143,6 +143,6 @@ init_state, %% option 'state', initial callback state id, %% 32-bit unsigned application identifier = Dict:id() mutable = false, %% boolean(), do traffic callbacks modify state? - options = [{answer_errors, report}]}). %% | callback | discard - + options = [{answer_errors, report}, %% | callback | discard + {request_errors, answer_3xxx}]}). %% | callback -endif. %% -ifdef(diameter_hrl). |