summaryrefslogtreecommitdiffhomepage
path: root/src/nodejs/unit-http/http_server.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-12-19Node.js: changed the 'data' event calling sequence for the request.Alexander Borisov1-10/+30
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.
2018-12-19Node.js: buffering HTTP headers before writing the body.Alexander Borisov1-10/+13
2018-11-15Node.js: res.write() must return a bool value.Alexander Borisov1-1/+1
2018-11-15Node.js: fixed handling of response header fields.Alexander Borisov1-1/+1
This fixes two issues: - values for mutiple header fields with the same name passed as arrays were converted to string; - the type of field value wasn't preserved as required by specification.
2018-11-15Node.js: added reference count increment for the Unit object.Alexander Borisov1-0/+2
We increase the number to the Unit object so that it lives forever. This is necessary so that the garbage collector does not delete the Unit object.
2018-10-31Node.js: added async request execution.Alexander Borisov1-4/+25
2018-10-24Node.js: additional type check for response.setHeader value.Alexander Borisov1-6/+6
2018-10-03Added Node.js support.Alexander Borisov1-0/+331