diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-10-04 14:59:35 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-10-04 14:59:35 +0300 |
commit | ebbe89bd5c22ef903e5cd1a898ad75c6739ae4bc (patch) | |
tree | b9f5ad9dde7c95561946cf6531ef6203691aa3f5 /src/nxt_parse.c | |
parent | 6a64533fa3b96bb64bfde4615e40376d65a292cb (diff) | |
download | unit-ebbe89bd5c22ef903e5cd1a898ad75c6739ae4bc.tar.gz unit-ebbe89bd5c22ef903e5cd1a898ad75c6739ae4bc.tar.bz2 |
Optimized send message allocations.
For empty write queue cases, it is possible to avoid allocation and enqueue
send message structures. Send message initialized on stack and passed to
write handler. If immediate write fails, send message allocated from engine
pool and enqueued.
Diffstat (limited to 'src/nxt_parse.c')
0 files changed, 0 insertions, 0 deletions