NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/52486: socket.TCP_KEEPIDLE not supported?



On Thu, Aug 17, 2017 at 09:14:05AM +0200, Benjamin Lorenz wrote:
> 
> > >Synopsis:       getsockopt(socket.SOL_TCP, socket.TCP_KEEPIDLE) fails in python 
>   
>  Well, yes. The kernel only has setsockopt support for it. See 
>  tcp_usrreq.c line 462ff.
> 
> 
> Shouldn't we complete the support for it? MongoDB driver has been patched now, 
> see https://github.com/mongodb/mongo-python-driver/commit/728ee59f279505dbce1acaccfcb81524117d2372
> 
> 
> But we're not leveraging all capabilities now which NetBSD has...

Christos added it in -current, but I odn't understand the MongoDB
change. If the getsockopt fails, just set max_value unconditional.

Joerg


Home | Main Index | Thread Index | Old Index