summaryrefslogtreecommitdiff
path: root/usr.bin/mail/send.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2013-06-04 01:32:17 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2013-06-04 01:32:17 +0000
commit9b63abab052ebdcdfdc6898968467164ad5f9b68 (patch)
tree01c569989facc8e8a980dc12f91d8a1435966893 /usr.bin/mail/send.c
parent573766d7d96d4af6ea437216079d8c23e40f2c01 (diff)
Properly implement the exponential backoff timer on session initialization
According with the section 2.5.3 of RFC 5036, an LSR must throttle its session setup retry attempts with an exponential backoff in situations where Initialization messages are being NAK'd (because of disagreements on session parameters). It doesn't mention using this procedure for TCP connection failures. With that said, start the inactive delay timer only after receiving an appropriate notification message. When playing the active role of the initialization process, throttle the session setup retry attempts by not connecting to the remote peer. When playing the passive role, throttle the session setup retry attempts by delaying the processing of the received Initialization message. Diff by Renato Westphal, adjusted by myself
Diffstat (limited to 'usr.bin/mail/send.c')
0 files changed, 0 insertions, 0 deletions