qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cliff Jansen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PROTON-578) proton-c: windows/io.c prints "Unknown error" for all winsock errors
Date Thu, 19 Mar 2015 00:35:39 GMT

     [ https://issues.apache.org/jira/browse/PROTON-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Cliff Jansen resolved PROTON-578.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9

Mostly fixed as suggested.

PROTON-840 tracks further improvements and parity with the Posix implementation.

> proton-c: windows/io.c prints "Unknown error" for all winsock errors
> --------------------------------------------------------------------
>
>                 Key: PROTON-578
>                 URL: https://issues.apache.org/jira/browse/PROTON-578
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.7
>            Reporter: Dominic Evans
>            Assignee: Cliff Jansen
>             Fix For: 0.9
>
>         Attachments: 10_fix_winsock_error_code_printing.patch
>
>
> The code in windows/io.c is attempting to call strerror on Winsock WSA error codes returned
by WSAGetLastError(). However, these codes don't map to Unix errno codes, so will always output
an "Unknown error" msg.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message