History log of /unit/src/nodejs/unit-http/ (Results 26 – 50 of 71)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: 1.21.0-1, 1.21.0
1715:95874fd9750118-Nov-2020 Max Romanov

Libunit: closing active requests on quit.

Revision tags: 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0
1547:cbcd76704c9011-Aug-2020 Max Romanov

Introducing the shared application port.

This is the port shared between all application processes which use it to pass
requests for processing. Using it significantly simplifies the request
proces

Introducing the shared application port.

This is the port shared between all application processes which use it to pass
requests for processing. Using it significantly simplifies the request
processing code in the router. The drawback is 2 more file descriptors per each
configured application and more complex libunit message wait/read code.

show more ...

1543:42f27153db9111-Aug-2020 Max Romanov

Libunit refactoring: port management.

- Changed the port management callbacks to notifications, which e. g. avoids
the need to call the libunit function
- Added context and library instance referenc

Libunit refactoring: port management.

- 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

show more ...

1536:8d151173475007-Aug-2020 Max Romanov

Node.js: correct port data memory release.

According to libuv documentation, uv_poll_t memory should be released
in a callback function passed to uv_close(). Otherwise, the Node.js application
proc

Node.js: correct port data memory release.

According to libuv documentation, uv_poll_t memory should be released
in a callback function passed to uv_close(). Otherwise, the Node.js application
process may crash at exit.

show more ...

Revision tags: 1.18.0-1, 1.18.0, 1.17.0-1, 1.17.0
1447:d1738674acc308-Apr-2020 Max Romanov

Node.js: fixing Server.listen() method.

This is required for Express framework compatibility.

This closes #418 issue on GitHub.

Revision tags: 1.16.0-1, 1.16.0
1373:65151d4ec48f03-Mar-2020 Max Romanov

Node.js: fixing x86 warning about the signed/unsigned comparison.

Revision tags: 1.15.0-1, 1.15.0
1342:f32913c6775228-Jan-2020 Max Romanov

Node.js: suppress compilation warning.

Revision tags: 1.14.0-1, 1.14.0
1322:a57afd02a57924-Dec-2019 Max Romanov

Node.js: implementing output message drain using SHM_ACK feature.

ServerResponse.write() method tries to write data buffer using libunit
and stores buffers to write in a Server-wide output queue, wh

Node.js: implementing output message drain using SHM_ACK feature.

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.

show more ...

Revision tags: 1.13.0-1, 1.13.0
1257:00eea530513c11-Nov-2019 Max Romanov

Fixing libunit 'off by 2' issue in library.

Name and value in each header are 0-terminated, so additional 2 bytes
should be allocated for them. There were several attempts to add these
2 bytes to h

Fixing libunit 'off by 2' issue in library.

Name and value in each header are 0-terminated, so additional 2 bytes
should be allocated for them. There were several attempts to add these
2 bytes to headers in language modules, but some modules weren't updated.
Also, adding these 2 bytes is specific to the implementation which may be
changed later, so extending this mechanics to modules may cause errors.

show more ...

Revision tags: 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0, 1.10.0-2, 1.10.0-1
1139:01322f5ec4e322-Aug-2019 Andrei Belov

Merged with the default branch.

Revision tags: 1.10.0
1132:9ac5b5f33ed920-Aug-2019 Max Romanov

Node.js: introducing websocket support.

1114:6d87da79ec4e06-Aug-2019 Valentin Bartenev

Node.js: returning "this" from writeHead() to allow chaining.

In Node.js version 11.10.0 and later, the writeHead() function returns "this".

1081:c84846b2c5ba17-Jun-2019 Max Romanov

Node.js: packaging new nxt_napi.h.

File nxt_napi.h (introduced in 53533ba0097c) added into packaged files
list.

This closes #261 issue on GitHub.

1080:e38b21f9e94017-Jun-2019 Max Romanov

Node.js: packaging new nxt_napi.h.

File nxt_napi.h (introduced in 53533ba0097c) added into packaged files
list.

This closes #261 issue on GitHub.

Revision tags: 1.9.0-1, 1.9.0
1038:77fb332f214a17-Apr-2019 Max Romanov

Node.js: using low-case header names as key in req.headers.

Node.js modules (body-parser, row-body) search low-cased names
('content-length', 'content-type' etc.) to properly assemble request body.

Node.js: using low-case header names as key in req.headers.

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.

show more ...

1024:2f2fd179cda803-Apr-2019 Valentin Bartenev

Backed out changeset f74d4dd9c3db.

This closes #240 issue on GitHub.

1023:cf4525f1b70802-Apr-2019 Max Romanov

Removing unused variables and assignments.

Warnings introduced in 53533ba0097c commit.

1022:15b98689a35301-Apr-2019 Max Romanov

Adding 'connection' to request as an alias to 'socket'.

Adding actual 'remoteAddress' and 'localAddress' into socket object.

This closes #232 issue on GitHub.

1021:8884d891d4c701-Apr-2019 Max Romanov

Introducing close event to notify about server stop.

This closes #236 on GitHub.
Thanks to 0xcdcdcdcd.

1020:53533ba0097c01-Apr-2019 Max Romanov

Adding syntax sugar.

With exceptions and overloads.

1008:84f2370bd64211-Mar-2019 Andrey Zelenkov

Style.

Revision tags: 1.8.0-1, 1.8.0
953:00d8049418cf22-Feb-2019 Alexander Borisov

Improvement and unification of version processing in build scripts.

This also eliminates expressions that incompatible with BSD make, thus fixing
installation of Node.js module on FreeBSD (broken by

Improvement and unification of version processing in build scripts.

This also eliminates expressions that incompatible with BSD make, thus fixing
installation of Node.js module on FreeBSD (broken by dace60fc4926).

show more ...

Revision tags: 1.7.1-1, 1.7.1, 1.7-1, 1.7
880:41f561b3a17819-Dec-2018 Alexander Borisov

Node.js: removed value checking for headers.

879:f74d4dd9c3db19-Dec-2018 Alexander Borisov

Node.js: removed unused _implicitHeader() function.

878:8867c1c7c2bf19-Dec-2018 Alexander Borisov

Node.js: added check for libunit version at compile time.

123