Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-06-17 | Node.js: packaging new nxt_napi.h. | Max Romanov | 1 | -0/+1 | |
File nxt_napi.h (introduced in 53533ba0097c) added into packaged files list. This closes #261 issue on GitHub. | |||||
2019-04-17 | Node.js: using low-case header names as key in req.headers. | Max Romanov | 1 | -4/+17 | |
Node.js modules (body-parser, row-body) search low-cased names ('content-length', 'content-type' etc.) to properly assemble request body. This closes #246 issue on GitHub. | |||||
2019-04-03 | Backed out changeset f74d4dd9c3db. | Valentin Bartenev | 1 | -0/+8 | |
This closes #240 issue on GitHub. | |||||
2019-04-02 | Removing unused variables and assignments. | Max Romanov | 1 | -8/+5 | |
Warnings introduced in 53533ba0097c commit. | |||||
2019-04-01 | Adding 'connection' to request as an alias to 'socket'. | Max Romanov | 1 | -4/+11 | |
Adding actual 'remoteAddress' and 'localAddress' into socket object. This closes #232 issue on GitHub. | |||||
2019-04-01 | Introducing close event to notify about server stop. | Max Romanov | 2 | -0/+25 | |
This closes #236 on GitHub. Thanks to 0xcdcdcdcd. | |||||
2019-04-01 | Adding syntax sugar. | Max Romanov | 5 | -654/+882 | |
With exceptions and overloads. | |||||
2019-03-11 | Style. | Andrey Zelenkov | 1 | -1/+1 | |
2019-02-22 | Improvement and unification of version processing in build scripts. | Alexander Borisov | 1 | -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-19 | Node.js: removed value checking for headers. | Alexander Borisov | 1 | -8/+0 | |
2018-12-19 | Node.js: removed unused _implicitHeader() function. | Alexander Borisov | 1 | -5/+0 | |
2018-12-19 | Node.js: added check for libunit version at compile time. | Alexander Borisov | 2 | -6/+12 | |
2018-12-19 | libunit: added generation of version header file. | Alexander Borisov | 1 | -1/+1 | |
2018-12-19 | Node.js: checking for exception after running JS code from C++. | Alexander Borisov | 1 | -3/+20 | |
2018-12-19 | Node.js: checking uniqueness of HTTP headers for different case. | Alexander Borisov | 2 | -24/+62 | |
2018-12-19 | Node.js: calling write callback asynchronously. | Alexander Borisov | 1 | -1/+13 | |
2018-12-19 | Node.js: style fixes. | Alexander Borisov | 1 | -8/+10 | |
No functional changes. | |||||
2018-12-19 | Node.js: changed the unit-http socket constructor. | Alexander Borisov | 1 | -5/+10 | |
Third-party file descriptors are not supported. Socket "readable" and "writable" options are set true by default. | |||||
2018-12-19 | Node.js: napi_call_function() replaced with napi_make_callback(). | Alexander Borisov | 2 | -27/+63 | |
The sequence of napi_open_callback_scope(), napi_call_function(), and napi_close_callback_scope() functions calls executes the provided JS code and all functions enqueued by process.nextTick() and Promises during this execution. | |||||
2018-12-19 | Node.js: changed the 'data' event calling sequence for the request. | Alexander Borisov | 1 | -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-19 | Node.js: buffering HTTP headers before writing the body. | Alexander Borisov | 1 | -10/+13 | |
2018-12-12 | Node.js: removed unused dependency. | Valentin Bartenev | 1 | -4/+1 | |
2018-11-15 | Node.js: npm package readme cleanup. | Valentin Bartenev | 1 | -18/+2 | |
2018-11-15 | Node.js: res.write() must return a bool value. | Alexander Borisov | 1 | -1/+1 | |
2018-11-15 | Node.js: fixed handling of response header fields. | Alexander Borisov | 2 | -1/+26 | |
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-15 | Node.js: added correct exit processing. | Alexander Borisov | 2 | -18/+43 | |
Node.js processes didn't exit after the changes in b9f7635e6be2, as the quit command from port wasn't handled by the module. | |||||
2018-11-15 | Node.js: added reference count increment for the Unit object. | Alexander Borisov | 2 | -0/+13 | |
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-11-06 | Node.js: socket.js improvements. | Andrey Zelenkov | 1 | -18/+20 | |
- Fixed handling of the "options" parameter in Socket() constructor; - Now the connect() method returns "this"; - Deduplicated the address() method; - Added missing "callback" argument to the end() method; - Now the destroy() method returns "this"; - Added "timeout" argument type check in the setTimeout() method. | |||||
2018-11-01 | Node.js: fixed typo in naming rawHeaders() method of request. | Andrey Zelenkov | 1 | -1/+1 | |
2018-10-31 | Node.js: added async request execution. | Alexander Borisov | 3 | -91/+173 | |
2018-10-24 | Node.js: additional type check for response.setHeader value. | Alexander Borisov | 1 | -6/+6 | |
2018-10-23 | Added ability to publish Node.js module. | Alexander Borisov | 3 | -2/+21 | |
2018-10-03 | Added Node.js support. | Alexander Borisov | 10 | -0/+1500 | |