oxen-mq/lokimq
Jason Rhinelander bcca8dd34e Catch errors on internal msgs; support non-blocking sends
When we try to route an internal message ("BYE", "NOT_A_SERVICE_NODE",
etc.) back to the remote from the proxy thread we can end up trying to
send to a disconnected remote, which raises an exception, but this isn't
caught in proxy code: fix this by catching and ignoring it.

This also changes the code to send these messages in "dontwait" mode so
that if we can't queue the message we get (and ignore) an exception
rather than blocking.
2020-03-29 11:34:55 -03:00
..
auth.cpp Catch errors on internal msgs; support non-blocking sends 2020-03-29 11:34:55 -03:00
auth.h Split up into logical headers and compilation units 2020-03-13 14:28:21 -03:00
batch.cpp 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 Rename keep-alive -> keep_alive in internal serialization 2020-03-23 22:28:23 -03:00
connections.h Split up into logical headers and compilation units 2020-03-13 14:28:21 -03:00
hex.h Add missing `inline` to de-templatized hex funcs 2020-03-03 15:06:39 -04:00
jobs.cpp Split up into logical headers and compilation units 2020-03-13 14:28:21 -03:00
lokimq-internal.h Catch errors on internal msgs; support non-blocking sends 2020-03-29 11:34:55 -03:00
lokimq.cpp Rename keep-alive -> keep_alive in internal serialization 2020-03-23 22:28:23 -03:00
lokimq.h Trim logged filenames to lokimq/* 2020-03-27 15:17:34 -03:00
message.h Split up into logical headers and compilation units 2020-03-13 14:28:21 -03:00
proxy.cpp Avoid segfault on retried SN connection request 2020-03-27 14:59:11 -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 Catch errors on internal msgs; support non-blocking sends 2020-03-29 11:34:55 -03:00