Open GoogleCodeExporter opened 9 years ago
libevent does not give a synchronous status when calling evhttp_send_reply.
A close callback, when properly set using evhttp_connection_set_closecb, is
called
asynchronously i.e. after function calling evhttp_send_reply returned.
Message that was attempted to be sent to consumer shall not be freed directly
after
calling evhttp_send_reply. It can be removed from topic queue safely yet.
If consumer gave up waiting for notifications, message removed from topic queue
can
be put in front of topic. Upon call of _consumer_pull, pending message shall be
freed.
Original comment by guillaum...@gmail.com
on 4 Sep 2009 at 6:09
Original issue reported on code.google.com by
guillaum...@gmail.com
on 4 Sep 2009 at 5:08