+1 as long as I don't have to do it. On Wed, Sep 6, 2023 at 10:39 PM Brian Neradt <brian.ner...@gmail.com> wrote:
> +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://urldefense.com/v3/__https://github.com/apache/trafficserver/pull/10324__;!!Op6eflyXZCqGR5I!E_97Y4E6FW5pwehjlnfCOTCV394hiGZRyQb4oulg2EukgJYq7zyiLeWet_H9R3elsmjpFS8bIqOtpTEDgE_YCi5h$ > > > > 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 >