trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

Problems with TSPortDescriptor (TS API).

Open ywkaras opened this issue 4 years ago • 3 comments

  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.

ywkaras avatar Jun 12 '20 20:06 ywkaras