summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_job.h
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2018-12-19 15:55:58 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2018-12-19 15:55:58 +0300
commit13c9ebccca9c7bee80f4b9c1da4c128435d9dac1 (patch)
treee2a8784b187233f03e4c19bb1b61b1f1ee90cf37 /src/nxt_job.h
parentde3c062c6e3e869d726b93a1ffe617059df7611a (diff)
downloadunit-13c9ebccca9c7bee80f4b9c1da4c128435d9dac1.tar.gz
unit-13c9ebccca9c7bee80f4b9c1da4c128435d9dac1.tar.bz2
Node.js: changed the 'data' event calling sequence for the request.
The problem is caused by Promises' inconsistency. The 'date' event could have been triggered before the user has started listening for it. To resolve the issue, we override the 'on' method of the request's emitter.
Diffstat (limited to 'src/nxt_job.h')
0 files changed, 0 insertions, 0 deletions