Commit 88dbe4a0 authored by neverlord's avatar neverlord

Merge branch 'master' into unstable

parents f765d3dd a4aaaa62
Version 0.3.1
2012-07-27
- Bugfix: always return from a synchronous handler if a timeout occurs
- Bugfix: request next timeout after timeout handler invocation if needed
Version 0.3
2012-07-25
......
......@@ -345,7 +345,9 @@ class receive_policy {
handle_timeout(client, fun);
if (awaited_response.valid()) {
client->mark_arrived(awaited_response);
client->remove_handler(awaited_response);
}
hm_cleanup(client, policy);
return hm_msg_handled;
}
case sync_response: {
......@@ -359,9 +361,9 @@ class receive_policy {
# else
fun(node->msg);
# endif
hm_cleanup(client, policy);
client->mark_arrived(awaited_response);
client->remove_handler(awaited_response);
hm_cleanup(client, policy);
return hm_msg_handled;
}
return hm_cache_msg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment