oxen-mq/lokimq
Jason Rhinelander 716d73d196 All sends use dontwait; add send failure callbacks
We really don't *ever* want send to block, no matter how it is called,
since the send is always in the proxy thread.  This makes the actual
send call always non-blocking, and adds callbacks that we can invoke on
send failures: either on queue full errors (which might be recoverable),
or both full queue and hard failures (which are generally not
recoverable).  These callbacks are both optional: they have to be passed
in using `send_option::queue_full` (if you just want queue full
notifies) or `send_option::queue_failure` (if you want queue full
notifies *and* other send exceptions).
2020-03-29 15:21:20 -03:00
..
auth.cpp All sends use dontwait; add send failure callbacks 2020-03-29 15:21:20 -03:00
auth.h Split up into logical headers and compilation units 2020-03-13 14:28:21 -03:00
batch.h Add ability to run a batch completion job in the proxy thread 2020-02-11 02:17:12 -04:00
bt_serialize.cpp 32-bit warning fix 2020-03-13 19:05:12 -03:00
bt_serialize.h Workarounds for old cmake/gcc 2020-03-05 01:33:02 -04:00
connections.cpp Catch connect failures 2020-03-29 14:40:21 -03:00
connections.h All sends use dontwait; add send failure callbacks 2020-03-29 15:21:20 -03:00
hex.h Add missing `inline` to de-templatized hex funcs 2020-03-03 15:06:39 -04:00
jobs.cpp All sends use dontwait; add send failure callbacks 2020-03-29 15:21:20 -03:00
lokimq-internal.h All sends use dontwait; add send failure callbacks 2020-03-29 15:21:20 -03:00
lokimq.cpp Rename keep-alive -> keep_alive in internal serialization 2020-03-23 22:28:23 -03:00
lokimq.h All sends use dontwait; add send failure callbacks 2020-03-29 15:21:20 -03:00
message.h Split up into logical headers and compilation units 2020-03-13 14:28:21 -03:00
proxy.cpp All sends use dontwait; add send failure callbacks 2020-03-29 15:21:20 -03:00
string_view.h _sv wasn't being defined inline 2020-03-02 15:11:29 -04:00
version.h.in Add version to cmake, generate version header 2020-03-13 14:28:05 -03:00
worker.cpp All sends use dontwait; add send failure callbacks 2020-03-29 15:21:20 -03:00