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: Benjamin Lorenz <ben@pocket.services>
To: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
	netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: lib/52486: socket.TCP_KEEPIDLE not supported?
Date: Thu, 17 Aug 2017 09:14:05 +0200

 --=-GPoPNI3hiSA2jni4KEZq
 Content-Type: multipart/alternative; boundary="=-FW34YFJTafiQvoxeFGb1"
 
 --=-FW34YFJTafiQvoxeFGb1
 Content-Type: text/plain; charset="utf-8"
 Content-Transfer-Encoding: quoted-printable
 
 
 > >Synopsis: =C2=A0 =C2=A0 =C2=A0 getsockopt(socket.SOL_TCP, socket.TCP_KEE=
 PIDLE) fails in python=20
  =20
  Well, yes. The kernel only has setsockopt support for it. See=20
  tcp_usrreq.c line 462ff.
 
 
 Shouldn't we complete the support for it? MongoDB driver has been patched n=
 ow,=C2=A0
 see=C2=A0https://github.com/mongodb/mongo-python-driver/commit/728ee59f2795=
 05dbce1acaccfcb81524117d2372
 
 
 But we're not leveraging all capabilities now which NetBSD has...
 
 =
 
 --=-FW34YFJTafiQvoxeFGb1
 Content-Type: text/html; charset="utf-8"
 
 <html><head></head><body><div><blockquote class="mori" style="margin:0 0 0 .8ex;border-left:1px solid #CCC;padding-left:1ex;">&gt; &gt;Synopsis: &nbsp; &nbsp; &nbsp; getsockopt(socket.SOL_TCP, socket.TCP_KEEPIDLE) fails in python
 <br> 
 <br> Well, yes. The kernel only has setsockopt support for it. See
 <br> tcp_usrreq.c line 462ff.</blockquote></div><br><div><blockquote class="mori" style="margin:0 0 0 .8ex;border-left:1px solid #CCC;padding-left:1ex;"></blockquote></div><div>Shouldn't we complete the support for it? MongoDB driver has been patched now,&nbsp;</div><div>see&nbsp;https://github.com/mongodb/mongo-python-driver/commit/728ee59f279505dbce1acaccfcb81524117d2372</div><div><br></div><div>But we're not leveraging all capabilities now which NetBSD has...</div><div><br></div></body></html>
 --=-FW34YFJTafiQvoxeFGb1--
 
 --=-GPoPNI3hiSA2jni4KEZq
 Content-Type: application/pkcs7-signature; name="smime.p7s"
 Content-Disposition: attachment; filename="smime.p7s"
 Content-Description: Electronic Signature S/MIME
 Content-Transfer-Encoding: base64
 
 MIINxwYJKoZIhvcNAQcCoIINuDCCDbQCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCCtsw
 ggYkMIIFDKADAgECAhEA0mcNlCTMw6J2hp6u1sVD6DANBgkqhkiG9w0BAQsFADCBmzELMAkGA1UE
 BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgG
 A1UEChMRQ09NT0RPIENBIExpbWl0ZWQxQTA/BgNVBAMTOENPTU9ETyBTSEEtMjU2IENsaWVudCBB
 dXRoZW50aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBMB4XDTE1MTIyNjAwMDAwMFoXDTE4MTIy
 NTIzNTk1OVowggEeMQswCQYDVQQGEwJERTEOMAwGA1UEERMFNjU3NzkxDzANBgNVBAgTBkhlc3Nl
 bjERMA8GA1UEBxMIS2Vsa2hlaW0xIzAhBgNVBAkTGkZyZWloZXJyLXZvbS1TdGVpbi1TdHIuIDQ0
 MRwwGgYDVQQKExNwb2NrZXRzZXJ2aWNlcyBHbWJIMTkwNwYDVQQLEzBJc3N1ZWQgdGhyb3VnaCBw
 b2NrZXRzZXJ2aWNlcyBHbWJIIEUtUEtJIE1hbmFnZXIxHzAdBgNVBAsTFkNvcnBvcmF0ZSBTZWN1
 cmUgRW1haWwxGDAWBgNVBAMTD0JlbmphbWluIExvcmVuejEiMCAGCSqGSIb3DQEJARYTYmVuQHBv
 Y2tldC5zZXJ2aWNlczCCASIwDQYJKoZIhvcNA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