DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53DNZEnf764445 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 53DNZEnf764445 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=USn7G2xa X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A7173858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1744587312; bh=Vrhs58s5NKd4VnsTB6Pg0LLKf76AtLsuvCARnuIIrt4=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=USn7G2xaUF5ZwKhUmZoDjMlGQxjOSrK1ODPLoI1lbwixINDzVeNdjsRt6SgOLO2ak W1U3dh/1vtAe1VW4CssjP14F6iaJwYRjwAqSShgqEN5L+DM+CpxLmfmKQffCTW8pYL h6apVuFY0d85kn8oofAOfjrsGp9r0Zz0iXXmPoq0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8E99D3858CDA ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8E99D3858CDA ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744587240; cv=none; b=xR8lZS7D/5UdQEWzBx4v83wj+Fg5XrtP/DmmSGJ1F04/MzBazK5zWWeMM+2TweZBLIdtgOHmedzx+y5suyufVmh4xNMI3VCbFmPSqn9UK0N9Xg5N6I2GjwHmjdhDtsc/a7WJlMWYsDd6zeQN/pUCdrqWFbXzNQ25bZ9RKM6Xo0Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744587240; c=relaxed/simple; bh=JOxsL+CU2+JzhCjFIqLsWhLS1A7muwTFMqLXLck67UM=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=joqT194k3IKqZ7UFLGFeFjkav9Of/T1A6NCXhpwfBVruHUwVtYSCSQQ211poC8vnNIdRcXD3pc1uqLhEqloZ+UnHLsfnht724pOheW/Mykw+LqICC14NSiXffZfOvfr4slLdGxjR3VE9gsdvaR4/YKnOlRx5sl9Sgy/MFWn3eEg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E99D3858CDA Date: Mon, 14 Apr 2025 00:33:57 +0100 To: cygwin AT cygwin DOT com Subject: Hang in http.server on 2nd request Message-ID: <20250414003357.5877165a@qkhx.uk> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.48; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Tim Magee via Cygwin Reply-To: Tim Magee Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Hello. I'd like to know whether I'm going barmy. I'm seeing a hang in Python's http.server module. It's 100% reproducible for me, and not hard to provoke. In one Cygwin shell I go: $ python -m http.server 7777 # http.server is Python's # standard library package In another Cygwin shell I go: $ wget localhost:7777/ # completes normally, writes index.html $ wget localhost:7777/ # connects to the server, sends the request, # times out waiting for a response Meanwhile in the first shell, the Python process has gone berserk. Process Explorer shows it as using 25% of CPU. My CPU has 8 cores. My Cygwin version is 3.6.0-1 and I'm using it with Windows 10. I'm using packages: python312 v3.12.9-1 wget v1.25.0-1 This was working OK in Cygwin with my previous Python version, 3.9. Cheers, Tim -- 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