From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125467 invoked by alias); 31 Jul 2019 04:49:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 125451 invoked by uid 89); 31 Jul 2019 04:49:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: nihcesxway.hub.nih.gov Received: from nihcesxway.hub.nih.gov (HELO nihcesxway.hub.nih.gov) (128.231.90.123) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 31 Jul 2019 04:48:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.gov; i=@nih.gov; q=dns/txt; s=NIH; t=1564548503; x=1596084503; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=7AjHk6Rg1Gvm/h/lgH3Lsx4cNWupzQagQr2YGskcAoo=; b=UaiOmi0bylcfv9N4+Se14r+X9HdG+Z6AePYrlKQrf9XcXdIsWm4aGG4L fZBpak0s0dDP5mX47vD7wuZrnxZ6qQB85BjrIv7Ig4sML6fPQJdP15qdm 679qwbOCuOrkxnxc0PZTn2cYHm7uttsxbIS08o00cM8j1v2yJHjO4Ehl+ PuJgWzpKAOSt6iNnSD/eoEFSroZwv422Iud2ZPcvnYafjcFJBB9G0K2ul SsrGBaeQhjP1LpPAcnbxQs9KyIdT94i0yxEFGyGSfRuwTiGvx5WLsd0ka fF1a+qy2JzKxR/h1vHcYC7EtFrxGODBDvKfw0p5ExPX6D2ctjLVnvyPNZ Q==; IronPort-SDR: ybZi0R7X6FxhZjtz5hJEfVQV4MxcbX8cak7TC2oAG6aad0C/w2DE296ssG8iwQsLOSilxSSl2t 7fYLtB3c2G3nf7m4063yacTpHdTP6EvgZ8NXes4JfLEzNICN75zqMSDqFoqbkZrjeKFK6y3uZg 6mhM4YzFZuUIqgsDM3a2ZCPZ4CnUT54xnAAqM6GTX461g0dHOGytmG13IMdZG4uTgNf92pVspX upSIkMkrTY4ZO3PkgyWJ+v5Xmm28dPrMZf6vQ/biQ1/YSIswEWavhRaRu5SMWN8NSIEhS6udAw 6Vo= Received: from uccbx01.nih.gov (HELO ces.nih.gov) ([156.40.79.151]) by nihcesxway.hub.nih.gov with ESMTP/TLS/ECDHE-RSA-AES256-SHA384; 31 Jul 2019 00:48:21 -0400 Received: from uccbX02.nih.gov (156.40.79.152) by uccbX01.nih.gov (156.40.79.151) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 31 Jul 2019 00:48:21 -0400 Received: from GCC01-DM2-obe.outbound.protection.outlook.com (156.40.79.134) by uccbX02.nih.gov (156.40.79.152) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 31 Jul 2019 00:48:21 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ML54XSWgoOJ7xmwUrfTX4ZsJUHtahGQbM7IUAPmAz5VAOMwpUAx34MBnLTUPWPhckBUqAysmJ9SuZnZ7DO6ly3DSHSjoPW1dQJtfRQL3MUekJbX6n0jx7lTPk/7tm4oKyAyVOscPEY9FvG6Pu+0iMHjCcSddt2cGMDHpd3NhbnZsaQKHbFZjPZOKerfboLk8B2NIW3mOnfzWQd3iYKepdncJMwlBVNs8IfebIK40W6I3s2Rvlu0/boVaCfLZj6Fti6JrPCmm4wOsk1TCPrmB89bIeIBJD+mQSCRYtMN2AfFj17qmdEz9tZy/qqbiyua4yIYKnfCkoG69PESLRnInFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7AjHk6Rg1Gvm/h/lgH3Lsx4cNWupzQagQr2YGskcAoo=; b=HGXmjiiEZ+lDAYkVjuhJTm7xFoYaSCS+DgxNJ/GUW9qZwD2JEDcgnAKdEAOGlinWG6G94NQNQzxlbPJNxk6MAEFM8YofPW2cRKZZVqOek5uYMleZosREYNOwPUsja2fHvok9CEy8TJNrxLmyKMG2MlRj+kcUPSuCikHJwOXBwxbLRvuw5oZj6Np+ce4aUgAtev9QmF/0ENfRyh+KMZFldUpxgetJOo6BoeAHzLthM/PFQ8NIhDxsokftkML51pAyDTx1Cg09lN/K7/SnQjOZP5UmbwfnYRE9o5cwT+Jg3OIS70plqjd9A0K7e3x+elpaOkvSQ48nopiGOZD62Viveg== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=ncbi.nlm.nih.gov;dmarc=pass action=none header.from=ncbi.nlm.nih.gov;dkim=pass header.d=ncbi.nlm.nih.gov;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.onmicrosoft.com; s=selector1-nih-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7AjHk6Rg1Gvm/h/lgH3Lsx4cNWupzQagQr2YGskcAoo=; b=lmqE+BaSt7GqMWscR7votIMc0/KxlhyLs5xQ31WLtGcA+PeaNQSCT30LE8XgPAkqY0afPVmeNozfCWvh4z2aWhYiksCMLtfOh6JwI1NeLaDTn14TBvDAH9lsn+oS5l//a0qxshOCLE5M4dRbNisiDiTEAqv7x2NAEGdAsK1WZ9s= Received: from BL0PR0901MB4308.namprd09.prod.outlook.com (52.135.47.83) by BL0PR0901MB3812.namprd09.prod.outlook.com (52.132.17.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.10; Wed, 31 Jul 2019 04:48:19 +0000 Received: from BL0PR0901MB4308.namprd09.prod.outlook.com ([fe80::8052:3866:283f:306c]) by BL0PR0901MB4308.namprd09.prod.outlook.com ([fe80::8052:3866:283f:306c%3]) with mapi id 15.20.2136.010; Wed, 31 Jul 2019 04:48:19 +0000 From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" Reply-To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: "'cygwin@cygwin.com'" Subject: Re: TCP_CORK (aka TCP_NOPUSH) does not work Date: Wed, 31 Jul 2019 04:49:00 -0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr@ncbi.nlm.nih.gov; x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lavr@nih.gov Return-Path: lavr@ncbi.nlm.nih.gov X-SW-Source: 2019-07/txt/msg00287.txt.bz2 > Regular SO options on Windows: I did not ask about Windows options. I asked about a feature that is defin= ed in Cygwin yet appears not functional. > You can abuse Nagle to get similar behaviour cross-platform: This is not the same thing! > ENOPROTOOPT (109)... "The option is not supported by the protocol." Indeed the textual description does not match, and should be changed in Cyg= win. Although, I'm sure it was copied over from Linux, which does not defi= ne it properly (probably, historically), either: #define ENOPROTOOPT 92 /* Protocol not available */ BTW, Windows does that correctly: WSAENOPROTOOPT (10042) =3D "Bad protocol option" > If a socket option is defined, perhaps for compatibility, it should eithe= r be > used or ignored, rather than giving an error. > If you are not going to support a socket option, and generate an error, i= t would > be better to not define the option and generate the error at compile time, > instead of failing at run time. Who are you suggesting this to? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple