summaryrefslogtreecommitdiffhomepage
path: root/src/nodejs/unit-http/unit.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-10-28Moving request limit control to libunit.Max Romanov1-1/+2
Introducting application graceful stop. For now only used when application process reach request limit value. This closes #585 issue on GitHub.
2020-12-29Node.js: ServerRequest and ServerResponse compliance to Stream API.Max Romanov1-1/+5
ServerRequest now inherit stream Readable object. ServerResponse provides 'writable' property. Thanks to Wu Jian Ping (@wujjpp). This closes #274, closes #317 issues and closes #502 PR on GitHub.
2020-08-11Libunit refactoring: port management.Max Romanov1-1/+1
- Changed the port management callbacks to notifications, which e. g. avoids the need to call the libunit function - Added context and library instance reference counts for a safer resource release - Added the router main port initialization
2019-12-24Node.js: implementing output message drain using SHM_ACK feature.Max Romanov1-0/+3
ServerResponse.write() method tries to write data buffer using libunit and stores buffers to write in a Server-wide output queue, which is processed in response to SHM_ACK message from router. As a side effect 'drain' event implemented and socket.writable flag reflect current state.
2019-08-20Node.js: introducing websocket support.Max Romanov1-5/+24
2019-04-01Adding syntax sugar.Max Romanov1-28/+7
With exceptions and overloads.
2019-02-22Improvement and unification of version processing in build scripts.Alexander Borisov1-1/+1
This also eliminates expressions that incompatible with BSD make, thus fixing installation of Node.js module on FreeBSD (broken by dace60fc4926).
2018-12-19Node.js: added check for libunit version at compile time.Alexander Borisov1-2/+7
2018-11-15Node.js: added correct exit processing.Alexander Borisov1-0/+1
Node.js processes didn't exit after the changes in b9f7635e6be2, as the quit command from port wasn't handled by the module.
2018-10-31Node.js: added async request execution.Alexander Borisov1-5/+3
2018-10-03Added Node.js support.Alexander Borisov1-0/+77