This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin not setting errno on "Connection refused" errors


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

Attachment: pgpEV4hp2TVIX.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]