cygwin not setting errno on "Connection refused" errors

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jun 16 17:58:00 GMT 2014


On Jun 16 19:43, Christoph H. Hochstaetter wrote:
> 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@host ~] $ ssh -p 4711 localhost
> ssh: connect to host localhost port 4711: Connection refused
> [user@host ~] $ ssh www.google.com
> ssh: connect to host www.google.com port 22: Connection timed out
> 
> Thx

Thank you for testing,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140616/e1e3b63f/attachment.sig>


More information about the Cygwin mailing list