delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/08/26/10:16:19

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA6F73858425
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1693059378;
bh=am99LZZxzhvxJc0kCwV8LNZnyJWcpWZVkl5CqzVyZAI=;
h=To:CC:Subject:Date:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=KgUPrv4pDwfpx8akpe7Teseep3rgtYTFD11q6asyk+ipHYL1lZ+I1A5g/8oGWhVuj
0jt435KVhk4KGmN9z65VUmtCR/+GKM/ZQLwrSazbEL8F97dEdzZQc0KIgo2CZC761P
X+8Lec9ej5kGDPta8FLBnW4FM4CVRXn3SpwNOJ04=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C54F6385842E
X-SBRS-Extended: Low
X-IronPortListener: ces-out
X-IronPort-AV: E=Sophos;i="6.02,203,1688443200"; d="scan'208";a="438037247"
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=ItqIew38pqn1FmI/eE39ic76JLyrSU6FdPK2mxm8j8K2OzvRnWa+htjI9DvHE1u+Imn9Sjnkhf3r4Ke7QDXFz4/LDOyGlt7gZS1g/mgtxrDh3ZeEBuD9dga+O6w+9Dv5yyf+v+7tm+GVCey9A7AHeOjTXXR6bkufWfLC93sYQ0j9bCtoWe1eKTnSjG/DupLH3xAywQakdRtn7IxvAnYimjtStQg8Synuu13AaWtSa/VUgJMRPDATrXiQsuZGES18+gwjuC+WWgxxsau272o8RQKiuOr5YQh2Yc744w0BRjdh5z6m1xpaRxmXzQooxsWsgx5kGXuGvVdIPtsARNviYw==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=x4RFGTVPWOMjHnS/myfn7tE7mBuVxf1EeTYiy/Wnat0=;
b=Nr5UFHboa96Ei6u3apmYcpgppfU/K3rU+y2iMQBdmOxxMNBt/Y3SEi5ZNTT78lVkOd45xXif0EEFMDZtswlfUqvcnZ1El7S1hb8ZJ/20DH+PHrEJjTFxOIyq9KOl3OU4Qx1sDluGfH/awvlzzt3kusnycrR4blOhCi383SdnJexlWxwPPvepDJPhIpcqdN30OkL1yH1km7dUMQpvDo9KZl2dRDeRBd6EldmFUqGOw9Z4vFJblAvU48sQoHpwqWN+sWnby/753MHA7VXVM77EQLn4sJK3+NeWQZu+2QF6URyXqe6AHj9tT0goRySvR/PO+37WSP0vE6Cx89dRn7HKvQ==
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
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Subject: RE: [EXTERNAL] Re: scp stalls on uploading in cygwin 3.5 current
master.
Thread-Topic: [EXTERNAL] Re: scp stalls on uploading in cygwin 3.5 current
master.
Thread-Index: AQHZ1juS/PjVpg8vtUumO/YZ+jANLa/5JiKAgAGPQQCAACIyAIAAE45wgAAGPgCAAA+WgIAAqBsQgADzdYCAAARQAA==
Date: Sat, 26 Aug 2023 14:15:36 +0000
Deferred-Delivery: Sat, 26 Aug 2023 14:15:35 +0000
Message-ID: <DM8PR09MB7095FA791F51E71CBD906E14A5E2A@DM8PR09MB7095.namprd09.prod.outlook.com>
References: <20230824060502 DOT c4798062cb19d4d35a5633ae AT nifty DOT ne DOT jp>
<20230824123131 DOT 390b4471915c963425c77608 AT nifty DOT ne DOT jp>
<ZOcb9SKtMPTQfj/m AT calimero DOT vinschen DOT de>
<20230825174832 DOT 9ebae8112667d5d5411cb8db AT nifty DOT ne DOT jp>
<ZOiHkCWY7PK3livD AT calimero DOT vinschen DOT de>
<DM8PR09MB70957918F669340C497F48D5A5E3A AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
<ZOidNPZSXvaecVJc AT calimero DOT vinschen DOT de>
<ZOiqR14RTnRudWP7 AT calimero DOT vinschen DOT de>
<DM8PR09MB70956281C4A01D025159B72BA5E3A AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
<ZOoDhVmqRAjWHCCa AT calimero DOT vinschen DOT de>
In-Reply-To: <ZOoDhVmqRAjWHCCa@calimero.vinschen.de>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DM8PR09MB7095:EE_|SJ0PR09MB10930:EE_
x-ms-office365-filtering-correlation-id: dadb440f-280e-4645-4ac9-08dba63ef83f
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: p6c6Aq72fwfGloUicqMg8Avj/7ZHyPmzhPo2E/dRThh7ZsaZHETTzj0luCaj4y57p4M16uZdA1dFP4UDb9vVaQe0rVaMyA/AxLW+AKIrFq8DSehl0P1LP8Z1fZr3eHAJcyeFmGjrE7dd7mv5N9DwZPCadgykSwNn1gEcoMh2jI0zFA1+o5egF9eo8vlX/7OhDPSQtxFxryIB2VUCm2oLg45zLxScTmpbNDab04XeZnlGEBgIg1xyQPdOMQjAn3C5zrd+5B7qTriR18cKWXLA7wlsdsV8e8WeYJGGgyxs1x61bLl3lsYeVuZItxfCGyNtB+KvAqhYoBuG6Z1YjLKTko66A+X1JwGQ+p2YPHXktEQaqcLI7VzY5DNzQsF8RUWIqJSvTihp1Y6Z27A7Lu+D796LXFVz7QLDuZzFb5rbDkqRg5NqRE1kQt9GQbGT3/mNfvUuku6KlEA34325/bfCkae9Fbk+bezohtN+RXShrLtKABp9Vh42C6C3q53QwTPew5miNBGlHSS3AmhOjuqlCujtbmiYB8BOs9n65XjiowNKHvDq5nDoedQ3tq6G5AUx7WefR2RDNMtnqn0zcazgMYjqnxIjhcODSbPRFma+MRadQ4k79xJCvNuVzj/IOL8o
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:DM8PR09MB7095.namprd09.prod.outlook.com; PTR:; CAT:NONE;
SFS:(13230031)(366004)(186009)(1800799009)(451199024)(6506007)(7696005)(71200400001)(6666004)(9686003)(498600001)(83380400001)(26005)(2906002)(4744005)(64756008)(66446008)(6916009)(66476007)(66946007)(76116006)(66556008)(52536014)(5660300002)(450100002)(4326008)(8676002)(8936002)(33656002)(55016003)(38070700005)(86362001)(38100700002)(122000001);
DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?r4nFAq1uT2KV45rZroDBTQo3Q/bvn+lxKAq+Kd1GVlA6S26NkKUAWOSm4dH8?=
=?us-ascii?Q?oh/qVfr5fbLmuzzZvQZsNzusucMzkG/pT/NujNbcZJT+KYuZtL0vK8sjrE4R?=
=?us-ascii?Q?2Fw/YVVR3ra0H5urPsZptJwgP3AcyWoQgkVZYMKJRvGQZTGH4R98PQbOOPyO?=
=?us-ascii?Q?pdEWzdBxBnE91Qzzh0IYv7O9ZQGYyPotSt9VBc/KY8JaDgXUynZbu2Yyuzoa?=
=?us-ascii?Q?QW6O1ZqrKhAP/TciQRWMW5+iu7F+v77NWuNHH+gz5yCXa+QbHn6L+uPB3xG1?=
=?us-ascii?Q?pe9n/r2tBNDwuS+EWv/UTAqWQC46ByxTYX29qgfUcP6KQSpDp9q3kSgbm+LE?=
=?us-ascii?Q?bv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enGACVF2IbYkMPA7Hh2s08l+7t6rQjyLCiPNMhSJUo0rbjDrdlCojQiitmdjn+5uWd/nYWGALlIwH9Yl+9sHDaPrjnm22ak2EIt1t/4jjNZf2ceU+mc4Q5Z1WE3STSFNaZfniHdg7hvlWfLSFMaa5O/ZChD+It/gIjkAgxLXJulnNBHTPrBVC60tjkyjLI9YCLVgkMftmASXaKYaOGL8p8hHwp63k/mK+HCpF7ZbIA9ULzaGarto0Vy3b34Xc0AvmCFwaTSbeHupf5/yj2FXSX6tpMIgDsrsQprBI56Qz0yn+RGMV+IRnS4tvW3zHZS0DwA==
X-OriginatorOrg: ncbi.nlm.nih.gov
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM8PR09MB7095.namprd09.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: dadb440f-280e-4645-4ac9-08dba63ef83f
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2023 14:15:58.5530 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 14b77578-9773-42d5-8507-251ca2dc2b06
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR09MB10930
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_EF, SPF_PASS, TXREP,
T_SPF_HELO_PERMERROR autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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-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: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\] via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

> This thread is not about send() blocking or returning EAGAIN.  This
> is about the behaviour of select(2) and poll(2).

I was merely commenting on your note that if select() returned a socket as
writable, and send() writes more than internally allowed, then send() would block.
It wouldn't!  It'd just write the allowable count, and return as a short write,
whether the socket was blocking or not.

select() and poll() whether I/O would block.  By the virtue of this,
a socket, which is in error (except for EAGAIN), is writable exactly
because write()/send() to such a socket would return -1 right away.

Anton Lavrentiev
Contractor NIH/NLM/NCBI

-- 
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