Re: [PATCH] server: Calculate remainig data size after a closure is processed

2016-01-11 Thread Derek Foreman
On 11/01/16 03:32 AM, Jaeyoon Jung wrote: > While processing a closure, data in the connection can be consumed again > if the closure itself invokes extra event dispatch. In that case the > remaining data size is also altered as a result. So we should update len > variable with the correct value af

[PATCH] server: Calculate remainig data size after a closure is processed

2016-01-11 Thread Jaeyoon Jung
While processing a closure, data in the connection can be consumed again if the closure itself invokes extra event dispatch. In that case the remaining data size is also altered as a result. So we should update len variable with the correct value after the closure is processed. Signed-off-by: Jaey