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?
The following reply was made to PR kern/52486; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: Benjamin Lorenz <ben@pocket.services>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/52486: socket.TCP_KEEPIDLE not supported?
Date: Thu, 17 Aug 2017 12:59:01 +0200
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