[zeromq-dev] [PATCH] Fix handle connection reset during session init

Martin Sustrik sustrik at 250bpm.com
Wed Jan 19 15:22:34 CET 2011


> +            //  Check if we had an error in previous attempt.
> +            if (unlikely (!(static_cast<T*>  (this)->next)))
> +                return (size_t) -1;
> +

I think this won't work. The next step of the decoding state machine is 
performed here irrespective of whether previous step was fully processed 
or not.


More information about the zeromq-dev mailing list