On Tue, Sep 29, 2015 at 02:58:04PM +0200, joris dedieu wrote:
> kevent(3,0x0,0,{},5,{1.000000000 }) = 0 (0x0)
> kevent(3,0x0,0,{0x4,EVFILT_READ,0x0,0,0x1,0x0},5,{1.000000000 }) = 1 (0x1)
> accept(4,{ AF_INET 80.247.233.242:48068 },0x7fffffffe804) = 5 (0x5)
> fcntl(5,F_SETFL,O_NONBLOCK) = 0 (0x0)
> recvfrom(5,0x801407000,16384,0x20080,0x0,0x0) ERR#35 'Resource
> temporarily unavailable'
> setsockopt(0x5,0x0,0x4,0x48668c,0x4,0x0) = 0 (0x0)
> setsockopt(0x5,0x6,0x1,0x48668c,0x4,0x0) = 0 (0x0)
> accept(4,0x7fffffffe808,0x7fffffffe804) ERR#35 'Resource
> temporarily unavailable'
> shutdown(5,SHUT_WR) = 0 (0x0)
> close(5) = 0 (0x0)
>
> Has you can see it doesn't looks great.
Indeed, the SO_LINGER is missing and I'm seeing the same here while the flag
is properly set on the stream interface. I have no idea why this does this,
but for sure this is a bug that I have to fix :-)
Thanks!
Willy