X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:references:in-reply-to:mime-version:date :message-id:subject:to:content-type; q=dns; s=default; b=UTzqmHp 202lgrkRO58F+H+NskAvsQjnii1dxArq7f8fauwOlyL9R4xFp5pNOx9a2K94KTO9 U7DpX4bQdWd0uHMm66Pb3DpQdCjy6IWuuvRuXp+HHlYCH+81VJpeOxXHU6fkzJQp 1/FYCmUmExeh8vComBfCw6+OowxbiJ6WB3Is= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:references:in-reply-to:mime-version:date :message-id:subject:to:content-type; s=default; bh=PPZ9MgC5EnFpW pNsKOPitazgAxM=; b=sOnYmyFUFPpJdce6eB/mr97YWuNrFFG7htxuasH1Z7/7L V+wnBxQQf6bWIrSOv42zpssys8XbOub7Ca+srRypR07Q+naCmjLdpHvpIJax93QJ e8dgRxn75XrW9bJzM945+IMMhFtZsaljAummQvEGDyk87Z4s9+NtxFmlv4WB5E= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.9 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qa0-f46.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:content-type; bh=2Ze2wfbqWVpQYVHPLVCsnDuY0ZA4l45qrSOKFHwJXes=; b=F1MrfOf1U5uXGS52RMaH4owlRuDH6dDq/XFU4wGRQK4BM0rZRJJCwX5FF01xLOHxag Qyaw2pnOYgvu6Ux/2Wzo1qHdTNuxNgZLKLILsLVZXc5Sql9zBHYc+w/L0W2FAK5QZgq6 4HVpTgJwvtAezzRBgenPOlcXty4LUDxf+aKjDpjMtu21tFDvsjMO7xsSSo2BaTGp2L3Q VSXRRHnLnwQkyTu0ka1ImKVB5WPwBsq4zacvwCqVcdtIrriN+bthNK0RZ7SmuXSZnot4 FcpWvVSKVeFI5jrHJr0Mjs6AfI5E+Xf7vrCXfa4QTKWxUvMeddxkm/q2vAJR1NDBQfQ/ Kumg== X-Gm-Message-State: ALoCoQmIGF6q5moCk9QT+D9PGzdEkqp97jNlZDJVWIFhCW0E6tCjX80nSYUM9bA6EGY/g0geaFwP X-Received: by 10.52.75.202 with SMTP id e10mr1018714vdw.54.1402940628998; Mon, 16 Jun 2014 10:43:48 -0700 (PDT) From: "Christoph H. Hochstaetter" References: <20140616131144 DOT GD23700 AT calimero DOT vinschen DOT de> In-Reply-To: <20140616131144.GD23700@calimero.vinschen.de> MIME-Version: 1.0 Date: Mon, 16 Jun 2014 19:43:48 +0200 Message-ID: <47eab44c8f2e3d571c22a72d8441b7a7@mail.gmail.com> Subject: AW: cygwin not setting errno on "Connection refused" errors To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On June 16 15:12 Corinna Vinschen wrote: >On May 30 19:01, Luke White wrote: >> I just updated cygwin today, and I've noticed that errno is not being >> set when there's a connection refused error. This appears to be true >> for INET and UNIX domain sockets. >> >> For example: >> >> $ ssh -p 12345 localhost >> ssh: connect to host localhost port 12345: No error >> >> >> Notice how it reports "No error" instead of "Connection refused". > >https://cygwin.com/ml/cygwin/2014-06/msg00172.html > > >Corinna Works as expected again with today's snapshot (couldn't test dup'd sockets quickly, sorry): [user AT host ~] $ ssh -p 4711 localhost ssh: connect to host localhost port 4711: Connection refused [user AT host ~] $ ssh www.google.com ssh: connect to host www.google.com port 22: Connection timed out Thx -Christoph -- 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