cygwin not setting errno on "Connection refused" errors

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jun 16 13:11:00 GMT 2014


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

-- 
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/cddf292b/attachment.sig>


More information about the Cygwin mailing list