Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wasi) do not use instance pool in 'fd_write'
Avoid using the long-lived instance pool for a temporary buffer on fd_write. Since we allocate and deallocate deterministically within the same function (and to avoid a cross-concern dependency on proxy-wasm to get pwctx), we simply use ngx_alloc and ngx_free to produce a temporary buffer.
- Loading branch information