LiteSpeed QUIC Library
|
#include <lsquic.h>
Data Fields | |
void *(* | pmi_allocate )(void *pmi_ctx, size_t sz) |
void(* | pmi_release )(void *pmi_ctx, void *obj) |
The packet out memory interface is used by LSQUIC to get buffers to which outgoing packets will be written before they are passed to ea_packets_out callback. pmi_release() is called at some point, usually after the packet is sent successfully, to return the buffer to the pool.
If not specified, malloc() and free() are used.