pub fn warm_pool()Expand description
Build this thread’s inflate state ahead of its first compressed payload.
The state is one ~47.5 KB allocation, and a heap that fragments as a
connection comes up may no longer have a hole that size by the time the
first large compressed frame is already sitting in it. Calling this on the
thread that will run the read loop, while the heap is still fresh, moves
that allocation to a moment it is known to succeed; the pool then hands the
same state to every inflate on this thread. A no-op when a state is already
parked, or when set_pool_retention is zero, since nothing would keep it.