You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by zwoop <gi...@git.apache.org> on 2016/09/08 21:20:06 UTC
[GitHub] trafficserver pull request #995: TS-4731: Changes return codes for IsInterna...
GitHub user zwoop opened a pull request:
https://github.com/apache/trafficserver/pull/995
TS-4731: Changes return codes for IsInternal APIs
This changes the following APIs:
tsapi int TSHttpTxnIsInternal(TSHttpTxn txnp);
tsapi int TSHttpSsnIsInternal(TSHttpSsn ssnp);
In addition, this also removes the following APIs, that were previously
deprecated:
tsapi TS_DEPRECATED TSReturnCode TSHttpIsInternalRequest(TSHttpTxn txnp);
tsapi TS_DEPRECATED TSReturnCode TSHttpIsInternalSession(TSHttpSsn ssnp);
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zwoop/trafficserver TS-4731
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/995.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #995
----
commit 205beb1f19818ec9e603b409ad332f31866e2703
Author: Leif Hedstrom <zw...@apache.org>
Date: 2016-09-08T20:56:16Z
TS-4731: Changes return codes for IsInternal APIs
This changes the following APIs:
tsapi int TSHttpTxnIsInternal(TSHttpTxn txnp);
tsapi int TSHttpSsnIsInternal(TSHttpSsn ssnp);
In addition, this also removes the following APIs, that were previously
deprecated:
tsapi TS_DEPRECATED TSReturnCode TSHttpIsInternalRequest(TSHttpTxn txnp);
tsapi TS_DEPRECATED TSReturnCode TSHttpIsInternalSession(TSHttpSsn ssnp);
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver pull request #995: TS-4731: Changes return codes for IsInterna...
Posted by jpeach <gi...@git.apache.org>.
Github user jpeach commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/995#discussion_r78196913
--- Diff: doc/developer-guide/api/functions/TSHttpTxnIsInternal.en.rst ---
@@ -41,8 +41,8 @@ was originated within Traffic Server.
Return Values
=============
-Both these APIs returns a :type:`TSReturnCode`, indicating whether the
-object was internal (:data:`TS_SUCCESS`) or not (:data:`TS_ERROR`).
+Both these APIs returns a :type:`int`, indicating whether the
--- End diff --
s/returns/return/
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver issue #995: TS-4731: Changes return codes for IsInternal APIs
Posted by bryancall <gi...@git.apache.org>.
Github user bryancall commented on the issue:
https://github.com/apache/trafficserver/pull/995
\U0001f44d - Looks good, but needs an update
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver issue #995: TS-4731: Changes return codes for IsInternal APIs
Posted by atsci <gi...@git.apache.org>.
Github user atsci commented on the issue:
https://github.com/apache/trafficserver/pull/995
FreeBSD build *successful*! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/753/ for details.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver issue #995: TS-4731: Changes return codes for IsInternal APIs
Posted by atsci <gi...@git.apache.org>.
Github user atsci commented on the issue:
https://github.com/apache/trafficserver/pull/995
Linux build *successful*! See https://ci.trafficserver.apache.org/job/Github-Linux/649/ for details.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver issue #995: TS-4731: Changes return codes for IsInternal APIs
Posted by zwoop <gi...@git.apache.org>.
Github user zwoop commented on the issue:
https://github.com/apache/trafficserver/pull/995
Whomever is reviewing: Please make sure I got all the conditionals right, with the correct boolean logic.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver issue #995: TS-4731: Changes return codes for IsInternal APIs
Posted by atsci <gi...@git.apache.org>.
Github user atsci commented on the issue:
https://github.com/apache/trafficserver/pull/995
FreeBSD build *successful*! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/789/ for details.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver pull request #995: TS-4731: Changes return codes for IsInterna...
Posted by zwoop <gi...@git.apache.org>.
Github user zwoop closed the pull request at:
https://github.com/apache/trafficserver/pull/995
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver issue #995: TS-4731: Changes return codes for IsInternal APIs
Posted by jpeach <gi...@git.apache.org>.
Github user jpeach commented on the issue:
https://github.com/apache/trafficserver/pull/995
\U0001f44d
Consider a heads-up email to dev@ since this change is likely to break 3rd party plugins.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver issue #995: TS-4731: Changes return codes for IsInternal APIs
Posted by jpeach <gi...@git.apache.org>.
Github user jpeach commented on the issue:
https://github.com/apache/trafficserver/pull/995
Rebase!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver pull request #995: TS-4731: Changes return codes for IsInterna...
Posted by jpeach <gi...@git.apache.org>.
Github user jpeach commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/995#discussion_r78197044
--- Diff: doc/developer-guide/api/functions/TSHttpTxnIsInternal.en.rst ---
@@ -41,8 +41,8 @@ was originated within Traffic Server.
Return Values
=============
-Both these APIs returns a :type:`TSReturnCode`, indicating whether the
-object was internal (:data:`TS_SUCCESS`) or not (:data:`TS_ERROR`).
+Both these APIs returns a :type:`int`, indicating whether the
+object was internal (:data:`1`) or not (:data:`0`).
--- End diff --
s/object/transaction/
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver issue #995: TS-4731: Changes return codes for IsInternal APIs
Posted by atsci <gi...@git.apache.org>.
Github user atsci commented on the issue:
https://github.com/apache/trafficserver/pull/995
Linux build *successful*! See https://ci.trafficserver.apache.org/job/Github-Linux/685/ for details.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---