History log of /unit/src/nodejs/unit-http/ (Results 26 – 50 of 55)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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.

877:ed8b1aaefdd119-Dec-2018 Alexander Borisov

libunit: added generation of version header file.

876:c73c6c98598619-Dec-2018 Alexander Borisov

Node.js: checking for exception after running JS code from C++.

875:dae402cb243f19-Dec-2018 Alexander Borisov

Node.js: checking uniqueness of HTTP headers for different case.

874:5df32621af1919-Dec-2018 Alexander Borisov

Node.js: calling write callback asynchronously.

873:89f7d6b67fa719-Dec-2018 Alexander Borisov

Node.js: style fixes.

No functional changes.

872:d6de17ee0e5819-Dec-2018 Alexander Borisov

Node.js: changed the unit-http socket constructor.

Third-party file descriptors are not supported.
Socket "readable" and "writable" options are set true by default.

871:3c679d90152419-Dec-2018 Alexander Borisov

Node.js: napi_call_function() replaced with napi_make_callback().

The sequence of napi_open_callback_scope(),
napi_call_function(), and napi_close_callback_scope() functions calls
executes the provi

Node.js: napi_call_function() replaced with napi_make_callback().

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.

show more ...

870:1e008ef94f4319-Dec-2018 Alexander Borisov

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

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.

show more ...

869:1340e353936219-Dec-2018 Alexander Borisov

Node.js: buffering HTTP headers before writing the body.

868:fd323ad9e24f12-Dec-2018 Valentin Bartenev

Node.js: removed unused dependency.

Revision tags: 1.6-1, 1.6
845:ad81611a2b9215-Nov-2018 Valentin Bartenev

Node.js: npm package readme cleanup.

844:c1938e4e5d8615-Nov-2018 Alexander Borisov

Node.js: res.write() must return a bool value.

843:4a352e2ce73b15-Nov-2018 Alexander Borisov

Node.js: fixed handling of response header fields.

This fixes two issues:

- values for mutiple header fields with the same name
passed as arrays were converted to string;

- the type of field val

Node.js: fixed handling of response header fields.

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.

show more ...

842:8c77d7fdf95215-Nov-2018 Alexander Borisov

Node.js: added correct exit processing.

Node.js processes didn't exit after the changes in b9f7635e6be2,
as the quit command from port wasn't handled by the module.

841:96d2b67e456a15-Nov-2018 Alexander Borisov

Node.js: added reference count increment for the Unit object.

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

Node.js: added reference count increment for the Unit object.

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.

show more ...

831:408397ea019306-Nov-2018 Andrey Zelenkov

Node.js: socket.js improvements.

- Fixed handling of the "options" parameter in Socket() constructor;
- Now the connect() method returns "this";
- Deduplicated the address() method;
- Added missing

Node.js: socket.js improvements.

- 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.

show more ...

123