SolidWallOfCode commented on a change in pull request #7023:
URL: https://github.com/apache/trafficserver/pull/7023#discussion_r499073793



##########
File path: include/ts/ts.h
##########
@@ -2573,6 +2573,38 @@ tsapi TSIOBufferReader 
TSHttpTxnPostBufferReaderGet(TSHttpTxn txnp);
  */
 tsapi TSReturnCode TSHttpTxnServerPush(TSHttpTxn txnp, const char *url, int 
url_len);
 
+/*
+ * Returns TS_SUCCESS if hostname is this machine, as used for parent and 
remap self-detection.
+ * Returns TS_ERROR if hostname is not this machine.
+ */
+tsapi TSReturnCode TSHostnameIsSelf(const char *hostname);
+
+/*
+ * Gets the status of hostname in the outparam status, and the status reason 
in the outparam reason.
+ * The reason is a logical-and combination of the reasons in 
TSHostStatusReason.

Review comment:
       Logical or, maybe? Logical and would always be zero.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to