You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2010/03/23 23:47:27 UTC
[jira] Created: (TS-271) Change the return values of the APIs to be
consistent for "success"
Change the return values of the APIs to be consistent for "success"
-------------------------------------------------------------------
Key: TS-271
URL: https://issues.apache.org/jira/browse/TS-271
Project: Traffic Server
Issue Type: Improvement
Affects Versions: 2.0.0
Reporter: Bryan Call
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TS-271) Change the return values of the APIs to
be consistent for "success"
Posted by "Bryan Call (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848948#action_12848948 ]
Bryan Call commented on TS-271:
-------------------------------
Right now some APIs return INK_SUCCESS (value of 0) for success and some APIs return the integer value of 1.
For example:
INKCacheKeyGet() does a "return INK_SUCCESS;"
INKHttpTxnConnectTimeoutSet() does a "return 1;"
Here is the typedef for INKReturnCode:
typedef enum
{
INK_ERROR = -1,
INK_SUCCESS = 0
} INKReturnCode;
> Change the return values of the APIs to be consistent for "success"
> -------------------------------------------------------------------
>
> Key: TS-271
> URL: https://issues.apache.org/jira/browse/TS-271
> Project: Traffic Server
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Bryan Call
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TS-271) Change the return values of the APIs to be
consistent for "success"
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-271:
-----------------------------
Fix Version/s: 2.1.0
> Change the return values of the APIs to be consistent for "success"
> -------------------------------------------------------------------
>
> Key: TS-271
> URL: https://issues.apache.org/jira/browse/TS-271
> Project: Traffic Server
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Bryan Call
> Fix For: 2.1.0
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira