Re: [PATCH] 2.1.4 first step in shutdown()ing sockets

2002-05-20 Thread Henrique de Moraes Holschuh
On Mon, 20 May 2002, Jeremy Howard wrote: > >sure all those prot_fill calls are really needed? SHUT_RD should dump any > >unread data from the socket anyway... > > > Not at all sure. I suspect they're not necessary. We added them because > we had to get our server up and running again ASAP which

Re: [PATCH] 2.1.4 first step in shutdown()ing sockets

2002-05-19 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: >The attached patch tries to play it safe. To the fastmail.fm crew, are you >sure all those prot_fill calls are really needed? SHUT_RD should dump any >unread data from the socket anyway... > > Not at all sure. I suspect they're not necessary. We added them be

[PATCH] 2.1.4 first step in shutdown()ing sockets

2002-05-19 Thread Henrique de Moraes Holschuh
The attached patch tries to play it safe. To the fastmail.fm crew, are you sure all those prot_fill calls are really needed? SHUT_RD should dump any unread data from the socket anyway... I have also tracked down some closes() that the original fastmail.fm patch does not fix to properly shutdown t