You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/04/16 22:57:16 UTC

[jira] [Created] (TS-1825) TSPortDescriptorAccept() does not use its TSCont contp parameter

Leif Hedstrom created TS-1825:
---------------------------------

             Summary: TSPortDescriptorAccept() does not use its TSCont contp parameter
                 Key: TS-1825
                 URL: https://issues.apache.org/jira/browse/TS-1825
             Project: Traffic Server
          Issue Type: Bug
          Components: TS API
            Reporter: Leif Hedstrom


This looks odd:
{code}
TSReturnCode
TSPortDescriptorAccept(TSPortDescriptor descp, TSCont contp)
{
  HttpProxyPort * port = (HttpProxyPort *)descp;
  return start_HttpProxyPort(*port, 0 /* nthreads */) ? TS_SUCCESS : TS_ERROR;
}
{code}

Assuming that (as per the IRC discussions) TSPortDescriptAccept() should work something similar to TSNetAccept, shouldn't it be using the contp for callbacks?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira