anism) to do the cleanup on TXN_CLOSE.\
>
I don't see how your answers are related to my questions so I'll let others
consider this.
> -Original Message-----
> From: Walt Karas
> Sent: Thursday, December 7, 2023 9:27 AM
> To: dev@trafficserver.apache.org
> Subject: Re: [E] [TSAPI] TSTxnAlloc
>
>
>
See my previous email - we could say it must be a POD for TxnAlloc and if it's
not, use Cleanup.
-Original Message-
From: Chris McFarlen
Sent: Friday, December 8, 2023 12:03 PM
To: dev@trafficserver.apache.org
Subject: Re: [TSAPI] TSTxnAlloc
Should the template function ver
nism) to do the cleanup on TXN_CLOSE.
-Original Message-
From: Walt Karas
Sent: Thursday, December 7, 2023 9:27 AM
To: dev@trafficserver.apache.org
Subject: Re: [E] [TSAPI] TSTxnAlloc
Should the template function versions ensure is_trivially_destructible?
This should reject non POD allocations.
Sent with Proton Mail secure email.
On Wednesday, December 6th, 2023 at 7:00 PM, Alan Carroll
wrote:
> Proposed Transaction based memory allocation API
>
> TSTxnAlloc
> ***
ot ATS resources.
>
> -Original Message-
> From: Walt Karas
> Sent: Wednesday, December 6, 2023 9:25 PM
> To: dev@trafficserver.apache.org
> Subject: Re: [E] [TSAPI] TSTxnAlloc
>
> Could we move Arena.h to tscpp/util, and just add:
>
> Arena & tsapi::txnArena(T
able state. And the finalizers are about cleaning up UDTs,
not ATS resources.
-Original Message-
From: Walt Karas
Sent: Wednesday, December 6, 2023 9:25 PM
To: dev@trafficserver.apache.org
Subject: Re: [E] [TSAPI] TSTxnAlloc
Could we move Arena.h to tscpp/util, and just add:
Are
Could we move Arena.h to tscpp/util, and just add:
Arena & tsapi::txnArena(TSHttpTxn txn);
For your finalizer example, when would that be better than using
Cleanup.h? That is, when would it be better than having the vector be a
data member of the TxnAuxData class you provide as a parameter to th
Proposed Transaction based memory allocation API
TSTxnAlloc
**
Traffic Server Transaction based memory allocation.
Synopsis
.. code-block:: cpp
#include
.. function:: swoc::MemSpan TSTxnAlloc(TSHttpTxn txn, size_t bytes)
.. function:: swoc::MemSpan TSTxnAllocAligned(TSHt