delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/06/18:35:38

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11C2D385E83A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1607293990;
bh=fqNVqUpbWXwNsH7/tr/UOV0H6SCB1VnU3Hg2v7g4OYU=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=JCIIai7cSuvjwPSJTMF6ZtXRY0rhWI/WaSLmHoIH9ANxNKiqncYuasPe/tsdWp7WU
Lg8Sfhx/WkH7dWtBBIKirA2/MvuEPekZIZnwR8Oh+8ounS/GnLmxZywfNFGzsuciLH
V2sQBqE0tPPeU4h5oMRth4XJ//cr2Er4/rxMaLRQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 518193858012
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=VkwynerImddzbyRuFLEqjWeqyISj8hPenPLOjKH/3atfG1r8F2UynbCns4oaC155717hWjL9nBBkSWmtqwbE5IgH3NZMz1ZzUb+m0nYIyxfZfdE6hojCAJdgi4eSGIhUnTOLkmy4V6WNAbbAaebRYjjrKC1u+ioEy1fIT1luK83Oqu4zBUtesW6av/04VB1ob/JWwpdrZP2DXJI1NNH+FjXLFaWOpout19uCX2ue2WGVlhxmXTYQN3XopCA5b2QzdagfpIjifJfFQdvLDDmUIGDTPS3U3IU+5CxLYp7Askc2MxH2s5C+RKFvn29aOgjMub1mF787NxCfhVhWEmSm5w==
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=GqZ5zy6lLkyALL5CnPUjHgrrruOY3qcDUxeL50JnQU0=;
b=QleKTCaQqRusAm+bsJVicVxxe34XQeGXkH2pZju0UwKL/DDW4aCwpx55SfC1mcKaNn5qTvvrZ/5eDhMYavmw7dXMptBL5cgM0zOahgHz1AoQ5n1J+N9r+TZUMRkk4B31x/jLHKtNrzhvC0/unQc5CCK65F1OCRlQdsqbgd1lBMj8fzuuN/k6gS/D+aqScc1GhepVOOEoEzBts6c/JdhUAS6OeLabLiGx6n+0T9Bspdh0p8cLDvlfGxuT2gV6B46ZTIZcaBKtbXCmdQ5NrAN9xMQ/mRTA4rlUMvP22/lYoesJkcA4N/swf4horYzwMaT8mzwTUCqnoHUHz8QdvWqs4A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Subject: Re: Unix Domain Socket Limitation?
To: Norton Allen <allen AT huarp DOT harvard DOT edu>, cygwin <cygwin AT cygwin DOT com>
References: <71490665-31b0-f63c-74da-461a053fac21 AT huarp DOT harvard DOT edu>
<55ea1649-1979-6238-75ab-69100c22e069 AT cornell DOT edu>
<4260ad1b-4ab2-fa36-fd0e-7c9644560114 AT huarp DOT harvard DOT edu>
<38a82f82-1ef9-768e-7d3e-15f63147e188 AT cornell DOT edu>
<a1f6e9af-7c0b-4d3f-4198-1c7bff4869dc AT huarp DOT harvard DOT edu>
<16165727-f614-1543-70bc-36457ddbf260 AT cornell DOT edu>
<75d1315b-5a56-a2e5-310d-6ac33a3cf17c AT huarp DOT harvard DOT edu>
<f5373cd4-1d3e-500a-a967-1c558541e720 AT cornell DOT edu>
<85c9c70f-c016-0f88-099e-5c772adbc648 AT huarp DOT harvard DOT edu>
<fb523694-7775-1d7a-db55-27ccbd6d157c AT huarp DOT harvard DOT edu>
<1a0944b7-5924-31ab-7198-a5c311f39e06 AT huarp DOT harvard DOT edu>
<1c1e875a-40a0-ff9e-a119-ba77203e43ea AT cornell DOT edu>
<a13ab85d-bee7-71e3-41d0-1a67422a859f AT huarp DOT harvard DOT edu>
<816668c9-4848-caa8-7fae-349be2cd5ab7 AT cornell DOT edu>
<de5e7b33-405f-c62d-8800-674b121cd87e AT huarp DOT harvard DOT edu>
Message-ID: <adbecb50-2e9c-622e-e152-77c28485385f@cornell.edu>
Date: Sun, 6 Dec 2020 17:32:58 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.5.1
In-Reply-To: <de5e7b33-405f-c62d-8800-674b121cd87e@huarp.harvard.edu>
X-Originating-IP: [65.112.130.200]
X-ClientProxiedBy: BN6PR10CA0002.namprd10.prod.outlook.com
(2603:10b6:405:1::12) To MN2PR04MB6176.namprd04.prod.outlook.com
(2603:10b6:208:e3::13)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: b61fd09e-891e-4b5c-9c85-08d89a36e338
X-MS-TrafficTypeDiagnostic: MN2PR04MB5856:
X-Microsoft-Antispam-PRVS: <MN2PR04MB58565FC64F0734B0C0916CEFD8CF0 AT MN2PR04MB5856 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:8882;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: DBKAHLWbEhDcE+D0DUGxz9ITC5msxi8XUZHZ/XVl8FgcBMEy/wGjyECzvPNz2Ekg3dqt2cwch8M+gTong8geI+1RSPItYgZuWXllzRZTJq3D0FDRPoYIVE7Z7TbB2Sw3KeuR4DlALMUa+tI0uk3yX8i6O4unVCNy0t4/XZxegsSdk2hQNAeNU6xFRqSznLFfAIcU7bYV8exzdjYSErs1DVxYiJd9drz+39tCNOTdZZBD71TiFTKguYeQ3w6I3P1y3hY0zgaxI8DDk5BN6s5R45p6VYV5uzDCJNewnc64n8l/dhvMfpn+QEQV1dcG5hgA4FWPfqykCj5tSNTYBijQrVlRZd/5fPeDzDnchzlF1Byrc7PkkobYlK6rMfjVoUkuLiwbEzldnq0V4Q7Fep8gIExnf9yz0BU8eIMlkyOKUikTaRJLQLwQPNcYGs9pEnkdW6y3q5NpIciVK1uaokpeeOG1TRykJuURw3JFYocwLsNcJJWm5O4EjFdgoCkItqJn
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:MN2PR04MB6176.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(376002)(396003)(136003)(346002)(366004)(39860400002)(966005)(316002)(16576012)(52116002)(75432002)(5660300002)(110136005)(66476007)(66556008)(2906002)(36756003)(26005)(66946007)(31686004)(86362001)(16526019)(186003)(53546011)(478600001)(3480700007)(2616005)(8936002)(956004)(83380400001)(786003)(8676002)(31696002)(6486002)(43740500002)(45980500001);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: =?Windows-1252?Q?DQm787M+w0SRMPvzKaK1tCkM1lx8aecR4fFk4gfH4on2vh/Avpd26TR0?=
=?Windows-1252?Q?RYK6Qu8SoHDf6Hhhvu4aEfIodRpZPAKhjGT+kp6IXWtrKoQsKeepGuGs?=
=?Windows-1252?Q?EesMgY5QRNsKirVO23kmc9H1+KGavJlfiHTFV5ErYcZIsQ/RbCfJ48PL?=
=?Windows-1252?Q?zlNbT5KjHxrBF7xI8bmzuN7fih4OJhvw9pJ8cv1HEmamEBfT+CPi0ZDq?=
=?Windows-1252?Q?LbIkqr2gHhofyrrjanAX3NEaYMfKa7WhFdh7+jGTx5nIfvBjNf7+0bN9?=
=?Windows-1252?Q?IBGe1Rm9ypmZekMpHLl+C74LFDmuNfQy41AGO1gBl4iCGdfT8bijROim?=
=?Windows-1252?Q?ntTbqxYWEQeNbvtWtcOc3OyRwP/HVp98ghi4SHDsLCay3ojRBruJ63YO?=
=?Windows-1252?Q?tEMn/H1b86VJwG2bcPtoPZL51smtZCG+I0vIFXGXq/ElgLfs6p7Sl1wb?=
=?Windows-1252?Q?1YHpDTdagHOf6FT2wYkTb/rTVu7sp3Io9EwdkNPTHQ+kVcz6d+B+CPLF?=
=?Windows-1252?Q?Kt++laRvVuYDPUZf9o4DqZPv5QrmgUNZtoQ4kk13q7EzlYtel6NSE+vz?=
=?Windows-1252?Q?4oGg+PZMFYntot0oWhmQYpS/FZ9gzRl+XTU7y0zAuVBADARZ69Z43RVl?=
=?Windows-1252?Q?0b9myTl4k6HcKjj09fKpHK3wI0bQUncZBV96OJv0q9rScdvlTf7niK7n?=
=?Windows-1252?Q?v3TtnsKEcZBfOTs8A9xyRLpqML23u5ZobBSmEAR7q7bLfCFBiG5R3jHA?=
=?Windows-1252?Q?99sB5uyYelo/wbTeWnIIJdkLQ+SXDNdKRlCCAFet2yumbfboDTwj5Tlu?=
=?Windows-1252?Q?3QyGnFDl/KasOcPtQTxOhImgCy0DBn28CK7d4TKoHCgyWmkUeGfXMMGs?=
=?Windows-1252?Q?HzP7x4bph5ffRFoy/9Ist9Jrsu5iqGGrqQWZY2Pg/9d/9Z0Iw2RoJxjd?=
=?Windows-1252?Q?1rulfOPyyF3s6pS/W04jochYMmsjOhVqdO3PXTRVOniss0zXCMEBPnP9?=
=?Windows-1252?Q?HUO1l0G4obiZBUvXhxCnxSRAKcmyTomShJbn6mWv1zChywLtyoQ9mRP+?=
=?Windows-1252?Q?VTJfI9FHCQJaoLyZ?=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-AuthSource: MN2PR04MB6176.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2020 22:33:00.2865 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-Network-Message-Id: b61fd09e-891e-4b5c-9c85-08d89a36e338
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: o7sUlkEYWepb4bTzKZsNot7ZR70RwBCb7z9sZnkuvVYeeb5SLDcbNGiVb6jcO0RxS4BwIo64jSQfI4RXff0oag==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5856
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, DKIM_INVALID,
DKIM_SIGNED, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 0B6NZBEn000370

On 12/6/2020 12:17 PM, Norton Allen wrote:
> On 12/5/2020 6:52 PM, Ken Brown wrote:
>> On 12/4/2020 8:51 AM, Norton Allen wrote:
>>> On 12/3/2020 8:11 PM, Ken Brown wrote:
>>>>
>>>> I'm traveling at the moment and unable to do any testing, but I wonder if 
>>>> you're bumping into an issue that was just discussed on the 
>>>> cygwin-developers list:
>>>>
>>>> https://cygwin.com/pipermail/cygwin-developers/2020-December/012015.html
>>>>
>>>> A different workaround is described there.
>>>>
>>>> If it's the same issue, then I don't think it will happen with the new 
>>>> AF_UNIX implementation.  More in a few days.
>>>>
>>> It does seem related.
>>>
>>> A work around that is working for me is to do a blocking connect() and switch 
>>> to non-blocking when that completes. In my application, the connect() 
>>> generally occurs once at the beginning of a run, so blocking for a few 
>>> milliseconds does not impact responsiveness.
>>
>> For the record, I can confirm that (a) the problem occurs with the current 
>> AF_UNIX implementation and (b) it does not occur with the new implementation 
>> (on the topic/af_unix branch).  With both client1 and client2, I see 
>> "connect() apparently succeeded immediately" using the new implementation.
>>
>> The new implementation is not yet ready for prime time, but with any luck it 
>> might be ready within a few months.
>>
> That sounds great, and exactly like the behavior under Linux. I'd certainly be 
> happy to test the new implementation as it gets closer, and also happy to expand 
> or improve the test apps to cover a wider range of functionality and/or 
> usability (e.g. run both client and server via a fork.) Feel free to let me know 
> what would be particularly useful.

Thanks.  I'll take you up on that when the branch is in slightly better shape.

Ken
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019