summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-10-04 14:59:35 +0300
committerMax Romanov <max.romanov@nginx.com>2017-10-04 14:59:35 +0300
commitebbe89bd5c22ef903e5cd1a898ad75c6739ae4bc (patch)
treeb9f5ad9dde7c95561946cf6531ef6203691aa3f5 /src/nxt_router.c
parent6a64533fa3b96bb64bfde4615e40376d65a292cb (diff)
downloadunit-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 '')
0 files changed, 0 insertions, 0 deletions