You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/06/12 20:34:41 UTC

[GitHub] [trafficserver] ywkaras opened a new issue #6894: Problems with TSPortDescriptor (TS API).

ywkaras opened a new issue #6894:
URL: https://github.com/apache/trafficserver/issues/6894


   1. TSPortDescriptorParse() returns a pointer to a dynamically allocated object.  There is no way to delete this object so it would be leaked ( https://github.com/apache/trafficserver/blob/85d50c2d7e916e7e30c698fdb1c32b1db7779455/src/traffic_server/InkAPI.cc#L8917 ).
   
   2.  This capability is not fully tested in regression testing ( https://github.com/apache/trafficserver/blob/85d50c2d7e916e7e30c698fdb1c32b1db7779455/src/traffic_server/InkAPITest.cc#L1484 ).
   
   This capability is not used in any core plugin.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficserver] SolidWallOfCode commented on issue #6894: Problems with TSPortDescriptor (TS API).

Posted by GitBox <gi...@apache.org>.
SolidWallOfCode commented on issue #6894:
URL: https://github.com/apache/trafficserver/issues/6894#issuecomment-956924388


   I'd recommend changing it to take an opaque block of storage defined in "apidefs.h" that's the same size as an HttpProxyPort. AFAICT the struct is a POD so there's no destructor isue.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] github-actions[bot] commented on issue #6894: Problems with TSPortDescriptor (TS API).

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #6894:
URL: https://github.com/apache/trafficserver/issues/6894#issuecomment-869086488


   This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] SolidWallOfCode commented on issue #6894: Problems with TSPortDescriptor (TS API).

Posted by GitBox <gi...@apache.org>.
SolidWallOfCode commented on issue #6894:
URL: https://github.com/apache/trafficserver/issues/6894#issuecomment-956924388


   I'd recommend changing it to take an opaque block of storage defined in "apidefs.h" that's the same size as an HttpProxyPort. AFAICT the struct is a POD so there's no destructor isue.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] SolidWallOfCode commented on issue #6894: Problems with TSPortDescriptor (TS API).

Posted by GitBox <gi...@apache.org>.
SolidWallOfCode commented on issue #6894:
URL: https://github.com/apache/trafficserver/issues/6894#issuecomment-956924388


   I'd recommend changing it to take an opaque block of storage defined in "apidefs.h" that's the same size as an HttpProxyPort. AFAICT the struct is a POD so there's no destructor isue.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org