aboutsummaryrefslogtreecommitdiffstats
path: root/otp_build
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-03-22 18:42:32 +0100
committerAnders Svensson <[email protected]>2013-03-26 17:13:29 +0100
commitb6a38ba05bdd437adcb7e192c6ab0c2ca0718f76 (patch)
tree1bd47885515842eb468216066b7caaae26ee6ea7 /otp_build
parentbcbaf5e1bcc47cb31782a6b36bc8a538b209ebc1 (diff)
downloadotp-b6a38ba05bdd437adcb7e192c6ab0c2ca0718f76.tar.gz
otp-b6a38ba05bdd437adcb7e192c6ab0c2ca0718f76.tar.bz2
otp-b6a38ba05bdd437adcb7e192c6ab0c2ca0718f76.zip
Move most transport_opt() validation into diameter_config
Faulty configuration was previously passed directly on to watchdog and peer_fsm processes, diameter:add_transport/2 happily returning ok and the error resulting on failure of watchdog and/or peer_fsm processes. Now check for errors before getting this far, returning {error, Reason} from diameter:add_transport/2 when one is detected. There are still some errors that can only be detected after transport start (eg. a misbehaving callback) but most will be caught early.
Diffstat (limited to 'otp_build')
0 files changed, 0 insertions, 0 deletions