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

2016-01-12 Thread Derek Foreman
On 11/01/16 10:12 PM, Jaeyoon Jung wrote: > When 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, so the variable len should be > updated after the closure is processed. >

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

2016-01-11 Thread Jaeyoon Jung
When 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, so the variable len should be updated after the closure is processed. Signed-off-by: Jaeyoon Jung --- src/connection.c