diff options
author | 2012-08-18 15:45:12 +0000 | |
---|---|---|
committer | 2012-08-18 15:45:12 +0000 | |
commit | ac5aa4b9d253e60716b8795831249ef2d0659b47 (patch) | |
tree | 569bb1b659cbbed26f75868016d9c65d681e68b7 /lib/libcrypto/LPdir_unix.c | |
parent | RFCs 2461 and 2462 have been replaced by, respectively, RFCs 4861 and 4862; (diff) | |
download | wireguard-openbsd-ac5aa4b9d253e60716b8795831249ef2d0659b47.tar.xz wireguard-openbsd-ac5aa4b9d253e60716b8795831249ef2d0659b47.zip |
Major update of the mta internals.
Add a mta_route structure which describes a route through which
outgoing mails are to be sent. This structure holds connection
parameters and limits. When an envelope is received in a batch,
the route for it is looked up, and the envelope is added to the
a list of envelope to be sent for this message on that route: a
task. When the batch is closed, each task is added to the list
of tasks for their respective route.
The routes are drained when new work can happen. The route will
create new mta sessions if necessary. When a session is up and
ready, it picks the first pending task on the route if any. In
the other case, it just closes the connection.
Errors on the connection are reported to the route, so that the
route could be flagged as broken. Currently, three errors on a
an attempt to open a route is reported as a failure for all pen-
ding tasks.
ok gilles@
Diffstat (limited to 'lib/libcrypto/LPdir_unix.c')
0 files changed, 0 insertions, 0 deletions