commit | 816b85ea4dbc8513c71d7862161aeda5a2b9c02c | [log] [tgz] |
---|---|---|
author | Simone Bordet <simone.bordet@gmail.com> | Fri Jul 18 15:57:23 2014 +0200 |
committer | Simone Bordet <simone.bordet@gmail.com> | Mon Jul 21 16:48:21 2014 +0200 |
tree | 7980b736c09c81272c68fcdf900c7fbc5e083d01 | |
parent | c72649e150608d28a9202c22905ebddc9c047ff4 [diff] |
439895 - No event callback should be invoked after the "failure" callback. Fixed HttpSender and HttpReceiver to use a non-blocking collaborative mechanism to notify callbacks. Only the "failed" callback can run concurrently with other callbacks. No other callback can run after the "complete" callback: a failure concurrent with another callback will notify the "failed" callback, finish the running callback and only then invoke the "complete" callback.