CURL Error code / Status code Handling

View: New views
2 Messages — Rating Filter:   Alert me  

CURL Error code / Status code Handling

by A_Venkatachalam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 <<openwsman-2.1.0-wsman-curl-client-transport_logindeniederrorcode.patch>>  <<openwsman-2.1.0-wsman-curl-client-transport.patch>>
Hi All

The attached patches are for handling and returning proper error/return code back to the clients.

1. openwsman-2.1.0-wsman-curl-client-transport_logindeniederrorcode.patch

        This patch is for addressing a usage of a particular macro for error code that was assumed to be defined after 7.12.0 CURL version. But this was not defined in 7.12.1 also and it ultimately came only in 7.13.0, so the check has changed from > 7.12.0 to >= 7.13.0
        Also it was assumed that when a MACRO is not present due to lower version we return an integer, the value returned was 1000 but it should have been 67, that’s what the macro value is, when expanded.

2. openwsman-2.1.0-wsman-curl-client-transport
        To make the behavior for client consistent while handling http_status codes across WinHttp client and Curl Client in OpenWSMAN.


Thanks,
Arun Venkatachalam
Dell R & D Centre,
Bangalore.
Extn - 78973

 Please consider the environment before printing this e-mail.






------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

openwsman-2.1.0-wsman-curl-client-transport_logindeniederrorcode.patch (1K) Download Attachment
openwsman-2.1.0-wsman-curl-client-transport.patch (3K) Download Attachment

Re: CURL Error code / Status code Handling

by Klaus Kaempf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* A_Venkatachalam@... <A_Venkatachalam@...> [Aug 27. 2009 08:50]:

>  <<openwsman-2.1.0-wsman-curl-client-transport_logindeniederrorcode.patch>>  <<openwsman-2.1.0-wsman-curl-client-transport.patch>>
> Hi All
>
> The attached patches are for handling and returning proper error/return code back to the clients.
>
> 1. openwsman-2.1.0-wsman-curl-client-transport_logindeniederrorcode.patch
>
> This patch is for addressing a usage of a particular macro for error code that was assumed to be defined after 7.12.0 CURL version. But this was not defined in 7.12.1 also and it ultimately came only in 7.13.0, so the check has changed from > 7.12.0 to >= 7.13.0
> Also it was assumed that when a MACRO is not present due to lower version we return an integer, the value returned was 1000 but it should have been 67, that’s what the macro value is, when expanded.
>
> 2. openwsman-2.1.0-wsman-curl-client-transport
> To make the behavior for client consistent while handling http_status codes across WinHttp client and Curl Client in OpenWSMAN.

Applied to svn head, thanks !

Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel