X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A60D6385842C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1687501633; bh=yh2Xiv1foCtixmoI9HilMYeFM+FsMYgxSS7Wm8BTl8c=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=kPIqnL2QHr39iY3D1j8YXp98FIZv+E2DOHyIApBbendi8W2dOOsoxM9fE4BdCWsNs B75Vou7tuIbowlsye+Nq947G8/xNLezRBepsYINFb861z+tEaQYIA8IkdgBM1JyJXT mRrI43whYJRea7YvN028e/YqWzUHlDIu3fFDEiVk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6BE293858D37 X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Message-ID: <1b9482bd-2119-732f-cc49-a3930bd3328d@house.org> Date: Thu, 22 Jun 2023 23:26:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US, en-CA Subject: scp and ssh 'cat' stalls at 64k bytes To: cygwin AT cygwin DOT com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Chris Roehrig via Cygwin Reply-To: Chris Roehrig Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 35N6Rbot025007 I've upgraded cygwin recently (from a much older version) and am encountering a new problem on all my Win10/WIn11 machines. With openssh and pv installed on cygwin (3.4.7-1): dd if=/dev/zero bs=1 count=65536 | ssh localhost 'cat > /dev/null'    # works dd if=/dev/zero bs=1 count=65537 | ssh localhost 'cat > /dev/null'    # stalls (and anything larger) dd if=/dev/zero bs=1 count=65537 | ssh localhost 'pv > /dev/null'    # replace 'cat' with 'pv' and it works This happens with or without Windows Firewall enabled, with any input > 64k, and also remotely from Linux. It also seems to affect scp to cygwin which stalls if the file is >= 64k -- 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