+1 We already have a TSVConnFdCreate, so it seems appropriate to add a getter.
On Wed, Sep 6, 2023 at 5:26 PM SUSAN HINRICHS <shinr...@ieee.org.invalid> wrote: > I would like to add a convenience API to fetch the file descriptor from a > VConn object. I came across the need for this when writing a plugin > working with a SSL VConn. For a variety of reasons, I didn't want the > plugin to link with a ssl library. With this API, I could avoid pulling in > the ssl library. > > PR with the proposed implementation > https://github.com/apache/trafficserver/pull/10324 > > Proposed signature > int TSVConnFdGet(TSVConn vconnp) > > Please let me know if you have any comments or concerns. > > Susan > -- "Come to Me, all who are weary and heavy-laden, and I will give you rest. Take My yoke upon you and learn from Me, for I am gentle and humble in heart, and you will find rest for your souls. For My yoke is easy and My burden is light." ~ Matthew 11:28-30