summaryrefslogtreecommitdiffhomepage
path: root/auto/feature
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-10-04 15:00:05 +0300
committerMax Romanov <max.romanov@nginx.com>2017-10-04 15:00:05 +0300
commita4b5b5d45d26077ac822b25d5d26f58661c02dcf (patch)
tree4784bc865c01499b3e073972d2f2fe0fbfb75fa3 /auto/feature
parentebbe89bd5c22ef903e5cd1a898ad75c6739ae4bc (diff)
downloadunit-a4b5b5d45d26077ac822b25d5d26f58661c02dcf.tar.gz
unit-a4b5b5d45d26077ac822b25d5d26f58661c02dcf.tar.bz2
Fixed error generation during request processing.
Request can be processed in thread different from the thread where the connection originally handled. Because of possible racing conditions, using original connection structures is unsafe. To solve this, error condition is registered in 'ra' (request <-> application link) and traversed back to original connection thread where the error message can be generated and send back to client.
Diffstat (limited to 'auto/feature')
0 files changed, 0 insertions, 0 deletions