[zeromq-dev] [PATCH] Solve race condition in pgm_receiver_t
Martin Sustrik
sustrik at 250bpm.com
Wed Dec 28 03:01:50 CET 2011
On 12/27/2011 11:41 PM, Steven McCoy wrote:
> Is that sufficient? There has been a case for a while in Jira.
>
> decoder::processed_bytes (data, received) would potentially be short,
> c.f. (received + pending_bytes).
You are right. The pending data should be retained between multiple
in_event invocations then.
The patch doesn't do that.
Martin
More information about the zeromq-dev
mailing list