httpClientSessionInit has its own set of status values it returns, but the actual rc/rsn of commands it does within are hidden behind compile-time printf statements.
This is unhelpful because this function does fail sometimes, and on zOS the reason is opaque and requires a GSK trace to then discover the cause. It just costs extra debug time then.
Proposed changes
Here we have httpClientSessionInit to httpClientSessionInitv2 to allow passing back internal rc. The original api still exists and calls the new version by passing a dummy argument.
Problem
httpClientSessionInit has its own set of status values it returns, but the actual rc/rsn of commands it does within are hidden behind compile-time printf statements. This is unhelpful because this function does fail sometimes, and on zOS the reason is opaque and requires a GSK trace to then discover the cause. It just costs extra debug time then.
Proposed changes
Here we have httpClientSessionInit to httpClientSessionInitv2 to allow passing back internal rc. The original api still exists and calls the new version by passing a dummy argument.
This PR addresses Issue: https://github.com/zowe/zowe-common-c/issues/468
Type of change
Please delete options that are not relevant.
PR Checklist
Please delete options that are not relevant.