Commit Graph

744 Commits

Author SHA1 Message Date
Sergey Kandaurov
67c64a99fb Using size_t for the field width type of the "%*s" specifier. 2018-01-24 15:16:32 +03:00
Valentin Bartenev
477e8177b7 HTTP parser: restricting control chars in header fields values.
This also fixes an infinite loop here (found with honggfuzz).
2018-01-24 15:02:56 +03:00
Andrei Belov
7e3480b046 Packages: explicit Python module versioning in Debian examples. 2018-01-22 16:39:32 +03:00
Andrei Belov
0c4ec72ca8 Packages: added support for Amazon Linux. 2018-01-22 16:39:31 +03:00
Andrei Belov
be8df0631a Packages: improved per-module dependency tracking. 2018-01-22 16:39:31 +03:00
Valentin Bartenev
d1f29ed77e Python: fixed the "wsgi.errors" environment variable name.
This closes issue #76 on GitHub.
2018-01-19 19:45:11 +03:00
Valentin Bartenev
01ec9a5dba Ability to validate configuration options with multiple types. 2018-01-18 15:52:44 +03:00
Max Romanov
2db8e586e5 Reduced duplication of validated app config options.
Common options moved to separate array.  Application-specific arrays refers
to common options.
2018-01-18 09:08:25 +03:00
Max Romanov
c2918a0014 Introducing pretty NXT_CONF_VLDT_END macro. 2018-01-18 09:08:16 +03:00
Andrey Zelenkov
a949c2f088 Tests: using LF line ending for test files. 2018-01-17 15:52:01 +03:00
Igor Sysoev
37a713c217 HTTP: fixed chunked response on 32-bit platforms. 2018-01-16 11:48:38 +03:00
Valentin Bartenev
0c38ff0e66 Checking for major HTTP version. 2018-01-15 20:50:20 +03:00
Valentin Bartenev
a073616fc3 Improved HTTP version representation. 2018-01-15 20:50:14 +03:00
Valentin Bartenev
3fb140d6d2 HTTP parser: improved error reporting. 2018-01-15 20:49:59 +03:00
Andrey Zelenkov
819b43fc2d Tests: use "data" parameter in Request() to send body. 2018-01-15 19:59:47 +03:00
Andrey Zelenkov
263741fb44 Tests: style. 2018-01-15 19:57:28 +03:00
Valentin Bartenev
84eba82bc8 Version bump. 2018-01-15 18:37:07 +03:00
Igor Sysoev
3cc529ddea Added tag 0.4 for changeset 6071f4300f76 2018-01-15 18:00:48 +03:00
Andrey Zelenkov
4c1c614099 Tests: exit with runner result. 2018-01-15 17:51:54 +03:00
Andrey Zelenkov
d229549101 Tests: fixed arguments order in getattr() call. 2018-01-15 17:50:10 +03:00
Andrey Zelenkov
43e36d91e5 Tests: added test for 'atexit'. 2018-01-15 16:06:33 +03:00
Andrey Zelenkov
b217a1e058 Tests: simple python application. 2018-01-15 16:06:26 +03:00
Andrey Zelenkov
b12f1ea42d Tests: assertTry() function introduced. 2018-01-15 15:57:32 +03:00
Andrey Zelenkov
75af52fd65 Tests: check_version() function introduced. 2018-01-15 15:00:44 +03:00
Igor Sysoev
ac433f1f30 Added version 0.4 CHANGES. 2018-01-15 15:05:25 +03:00
Igor Sysoev
a35732bf05 PHP: "--lib-static" option uses "--lib-path" option. 2018-01-15 15:05:22 +03:00
Valentin Bartenev
845b373bda Fixed reading of the rest of body, broken after 5817734dd9b9. 2018-01-12 21:36:24 +03:00
Igor Sysoev
c9ae198016 PHP: added "--lib-static" configure option.
The libraries returned by "php-config --libs" are required to link with
static libphp.a.  Dynamic libphp.so contains the required libraries names.
2018-01-12 18:15:58 +03:00
Igor Sysoev
059695eeed HTTP: request body length was not passed to application.
The bug has appeared in changeset 5817734dd9b9.
2018-01-12 17:54:50 +03:00
Max Romanov
fa49d042a8 PHP: Terminating names with zero.
Fixing issue introduced in changeset 462:17a2c9b27b57 .
2018-01-12 16:37:42 +03:00
Max Romanov
aad4229cbc Initializing script_name.start before using.
This makes gcc 4.4.6 happy.
2018-01-12 11:19:00 +03:00
Max Romanov
349717fb90 Changing relative php scripts paths to real ones.
This is required to run phpMyAdmin.
2018-01-11 22:14:20 +03:00
Igor Sysoev
c105988e51 Fixed DragonFly BSD shared memory implementation. 2018-01-11 17:13:58 +03:00
Igor Sysoev
f7bc2e1560 Using hg archive instead of copying to make distribution tarball. 2018-01-11 09:54:35 +03:00
Igor Sysoev
2fa203f2da HTTP: fixed large header buffers allocation and deallocation.
This closes #74 issue on GitHub.
2018-01-11 09:49:36 +03:00
Igor Sysoev
b09227fa5c HTTP: request body was not passed to application.
The bug has appeared in changeset 5817734dd9b9.
2018-01-11 09:49:35 +03:00
Andrey Zelenkov
470948a0d6 Tests: style. 2018-01-10 20:35:22 +03:00
Andrey Zelenkov
8546d6d499 Tests: --no-daemon option used for unit. 2018-01-10 19:43:44 +03:00
Andrey Zelenkov
138727ec46 Tests: remove temporary folder when module not found. 2018-01-10 19:41:53 +03:00
Valentin Bartenev
e8aada94de HTTP parser: allowing underscore in header field names. 2018-01-09 16:50:47 +03:00
Valentin Bartenev
c85c9dc7a8 Year 2018. 2018-01-01 16:31:07 +03:00
Igor Sysoev
30a83a1159 Using correct pointer and size for memzero operation.
Found by Coverity (CID 215689).
2017-12-29 19:42:54 +03:00
Igor Sysoev
4c4981f992 Using correct pointer in test operation.
Found by Coverity (CID 215687).
2017-12-29 18:43:55 +03:00
Igor Sysoev
bcbe6df8af Corrected allocation size of HTTP response header. 2017-12-29 18:43:54 +03:00
Igor Sysoev
965a95d602 Version bump. 2017-12-29 18:43:51 +03:00
Andrei Belov
3e9e6878a6 Packages: fixed building on 64-bit Debian 9 and Ubuntu 17.10. 2017-12-28 22:16:52 +03:00
Igor Sysoev
d45326481c Added tag 0.3 for changeset b8400e8feb36 2017-12-28 21:25:22 +03:00
Igor Sysoev
8492ba945b Fixed Go package and PHP module building.
Go package and PHP module could not be built after changeset 5817734dd9b9.
2017-12-28 21:07:28 +03:00
Valentin Bartenev
cbab4939ec Removed 0.3 tag, again. 2017-12-28 20:56:16 +03:00
Igor Sysoev
dbd7540a04 Removed duplicate declaration. 2017-12-28 20:50:49 +03:00