Re: [Dovecot] pop3 TCP_CORK too late error

2010-10-14 Thread Timo Sirainen
On Sat, 2010-10-09 at 21:33 -0700, Ryan Murray wrote: > I was straceing a pop3 process and noticed that the TCP_CORK option > isn't set soon enough: > > epoll_wait(8, {{EPOLLOUT, {u32=37481984, u64=37481984}}}, 38, 207) = 1 > write(41, "iTxPBrNlaNFao+yQzLhuO4/+tQ5cuiKSe"..., 224) = 224 http://hg.

Re: [Dovecot] pop3 TCP_CORK too late error

2010-10-10 Thread Ryan Murray
On Mon, 2010-10-11 at 03:30 +0200, Marcus Rueckert wrote: > On 2010-10-09 21:33:11 -0700, Ryan Murray wrote: > > epoll_wait(8, {{EPOLLOUT, {u32=37481984, u64=37481984}}}, 38, 207) = 1 > > write(41, "iTxPBrNlaNFao+yQzLhuO4/+tQ5cuiKSe"..., 224) = 224 > > epoll_ctl(8, EPOLL_CTL_MOD, 41, {EPOLLIN|EPOLL

Re: [Dovecot] pop3 TCP_CORK too late error

2010-10-10 Thread Marcus Rueckert
On 2010-10-09 21:33:11 -0700, Ryan Murray wrote: > epoll_wait(8, {{EPOLLOUT, {u32=37481984, u64=37481984}}}, 38, 207) = 1 > write(41, "iTxPBrNlaNFao+yQzLhuO4/+tQ5cuiKSe"..., 224) = 224 > epoll_ctl(8, EPOLL_CTL_MOD, 41, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, > {u32=37481984, u64=37481984}}) = 0 > prea

[Dovecot] pop3 TCP_CORK too late error

2010-10-09 Thread Ryan Murray
I was straceing a pop3 process and noticed that the TCP_CORK option isn't set soon enough: epoll_wait(8, {{EPOLLOUT, {u32=37481984, u64=37481984}}}, 38, 207) = 1 write(41, "iTxPBrNlaNFao+yQzLhuO4/+tQ5cuiKSe"..., 224) = 224 epoll_ctl(8, EPOLL_CTL_MOD, 41, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=3