diff options
author | Linus Nordberg <linus@nordberg.se> | 2011-02-25 12:48:26 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2011-02-25 12:48:26 +0100 |
commit | 53d44d49597a515ae6c22ec20138a21986f6c3ab (patch) | |
tree | 0fc06bac6be003d2b936679075fdbf6eb735d1d7 /lib/examples/client-tls.conf | |
parent | 0befcd00af0a034bc4ec4e3466d2b37b3c658cc9 (diff) |
Get rid of loopbreak as a mean for signalling successful packet handling.
In blocking mode, breaking the event loop with loopbreak will probably
be needed for exceptions like timeout so we shouldn't use it for
breaking the loop and signalling success.
In the user callbaks used in blocking mode (_rcb and _wcb), disable
read and write events on the event buffer. This will stop the loop.
Also, set a flag in the packet struct to signal success.
In the "low level callbacks" (_read_cb and _write_cb), enable read or
write, accordingly.
Diffstat (limited to 'lib/examples/client-tls.conf')
0 files changed, 0 insertions, 0 deletions