Re: About si_conn_send_loop()

2013-10-11 Thread Willy Tarreau
Hi Godbach, On Wed, Oct 09, 2013 at 11:28:32PM +0800, Godbach wrote: Hi Willy, It seems that the loop will be only excuted once. The related codes as below(src/stream_interface.c): static int si_conn_send_loop(struct connection *conn) { ... while (!(conn-flags (CO_FL_ERROR |

Re: About si_conn_send_loop()

2013-10-11 Thread Godbach
On 2013/10/11 14:10, Willy Tarreau wrote: Hi Godbach, Yes I remember about this change, it happened one year ago in the following commit : ed7f836 BUG/MINOR: stream_interface: don't loop over -snd_buf() In 1.4 and 1.5 before the connection rework, the loop was used to call send() over each