Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-10-23 | Tests: added USR1 signal test for unit.log. | Andrey Zelenkov | 3 | -37/+101 | |
2019-10-23 | Tests: more static tests. | Andrey Zelenkov | 1 | -0/+6 | |
2019-10-23 | Tests: improved handshake for websocket tests. | Andrey Zelenkov | 2 | -7/+15 | |
2019-10-23 | Tests: style. | Andrey Zelenkov | 1 | -1/+3 | |
2019-10-23 | Tests: check initial configuration in test_access_log.py. | Andrey Zelenkov | 1 | -1/+5 | |
2019-10-23 | Tests: check initial configuration in test_routing.py. | Andrey Zelenkov | 1 | -27/+31 | |
2019-10-23 | Tests: added flush() in "errors_write" Python application. | Andrey Zelenkov | 1 | -0/+1 | |
2019-10-23 | Python: fixing Python 3.8 build with clang. | Max Romanov | 2 | -54/+8 | |
Python 3.8 has 'tp_print' field in PyTypeObject struct. This field is attributed as deprecated. So, clang generates warning (which is turned to error) as a result of initializing this field. From the other hand, it is impossible to omit this field in positional initialization. The solution is to use designated initializer. Silencing usage message during configure python. This is related to #331 issue on GitHub. | |||||
2019-10-22 | Improved error logging when uid/gid map is not properly set. | Tiago Natel | 1 | -2/+30 | |
When using "credential: true", the new namespace starts with a completely empty uid and gid ranges. Then, any setuid/setgid/setgroups calls using ids not properly mapped with uidmap and gidmap fields return EINVAL, meaning the id is not valid inside the new namespace. | |||||
2019-10-22 | Fixing process crash in case of module load error. | Max Romanov | 1 | -0/+3 | |
This is related to #330 issue on GitHub. | |||||
2019-10-22 | Fixing idle connection close function. | Max Romanov | 1 | -1/+1 | |
There was a typo: nxt_queue_head() used instead of nxt_queue_first() in connection iteration loop. This prevents idle connection close on quit. This closes #334 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao). | |||||
2019-10-22 | Python: fixing build for Python 3.8. | Max Romanov | 2 | -0/+8 | |
Thanks to tonyafanasyev. This is related to #331 issue on GitHub. | |||||
2019-10-11 | Fixed passing false in namespace flags. | Tiago Natel | 4 | -4/+42 | |
This patch closes #328 in github. | |||||
2019-10-10 | Style fixes. | Igor Sysoev | 7 | -22/+35 | |
2019-10-10 | Changed nxt_memcasecmp() interface to avoid casts. | Igor Sysoev | 3 | -10/+12 | |
2019-10-09 | Configuration: added check for mandatory options of "action". | Valentin Bartenev | 1 | -2/+33 | |
2019-10-08 | Tests: default port number used. | Andrey Zelenkov | 1 | -1/+1 | |
2019-10-08 | Tests: increased subprocess timeout on Unit exit. | Andrey Zelenkov | 1 | -13/+13 | |
Also changed order of subprocess status checks. _terminate_process() method removed. | |||||
2019-10-07 | Version bump. | Valentin Bartenev | 1 | -2/+2 | |
2019-10-03 | Added tag 1.12.0 for changeset b391df5f0102 | Valentin Bartenev | 1 | -0/+1 | |
2019-10-03 | Generated Dockerfiles for Unit 1.12.0.1.12.0 | Valentin Bartenev | 9 | -9/+9 | |
2019-10-03 | Added version 1.12.0 CHANGES. | Valentin Bartenev | 2 | -0/+66 | |
2019-10-03 | Ignoring EINTR error in kqueue. | Igor Sysoev | 1 | -1/+4 | |
2019-10-03 | Regenerated Dockerfiles. | Konstantin Pavlov | 9 | -0/+36 | |
2019-10-03 | Docker: added an entrypoint to make configuration easier. | Konstantin Pavlov | 2 | -0/+75 | |
Docker images now accept shell scripts, json files and certificate chain bundles to provide configuration on a container start by placing them into /docker-entrypoint.d/ directory. | |||||
2019-10-02 | Added response status code to error page body. | Valentin Bartenev | 1 | -8/+10 | |
Also the error page markup is now valid according to HTML5 specification. All optional tags were omitted. | |||||
2019-10-02 | Fixed "make tests" build without preceding "make". | Max Romanov | 6 | -10/+7 | |
Currently almost all Unit object files depends on generated nxt_version.h. This patch adds missing dependence and fixes running make with multiple jobs. This closes #318 issue on GitHub. | |||||
2019-10-01 | Go: fixing header buffer size calculation. | Max Romanov | 1 | -1/+1 | |
Header names and values are stored 0-terminated for ease of use in different languages, so magic number 2 should be added to each name-value pair size. | |||||
2019-09-30 | HTTP: corrected allocation size for tail chunk. | Valentin Bartenev | 1 | -1/+1 | |
2019-09-30 | HTTP parser: removed unused "exten" field. | Valentin Bartenev | 3 | -44/+2 | |
This field was intended for MIME type lookup by file extension when serving static files, but this use case is too narrow; only a fraction of requests targets static content, and the URI presumably isn't rewritten. Moreover, current implementation uses the entire filename for MIME type lookup if the file has no extension. Instead of extracting filenames and extensions when parsing requests, it's easier to obtain them right before serving static content; this behavior is already implemented. Thus, we can drop excessive logic from parser. | |||||
2019-09-30 | HTTP parser: normalization of paths ending with "." or "..". | Valentin Bartenev | 1 | -8/+28 | |
Earlier, the paths were normalized only if there was a "/" at the end, which is wrong according to section 5.2.4 of RFC 3986 and hypothetically may allow to the directory above the document root. | |||||
2019-09-30 | Fixed error processing in SSL operations. | Igor Sysoev | 1 | -13/+3 | |
Before this fix EWOULDBLOCK error was fatal for SSL write operation. This closes #325 issue on GitHub. | |||||
2019-09-30 | Fixed exiting if a signal arrives during discovery. | Max Romanov | 1 | -35/+38 | |
When Unit starts, the main process waits for module discovery message for a while. If a QUIT signal arrives at this time, the router and controller processes created by main and Unit stay running. Also, the main process doesn't stop them after the second QUIT signal is received in this case. | |||||
2019-09-26 | Refactored nxt_process_create() for more explicit pipe closing. | Valentin Bartenev | 1 | -40/+29 | |
2019-09-26 | Fixed descriptors leak on process creation. | Valentin Bartenev | 1 | -0/+12 | |
The leak has been introduced in 325b315e48c4. This closes #322 issue in GitHub. | |||||
2019-09-25 | Tests: fixed hanging of Go tests. | Andrey Zelenkov | 2 | -14/+24 | |
This closes #319 issue on GitHub. | |||||
2019-09-25 | Packaging: debian: drop a surplus line from init script | Konstantin Pavlov | 1 | -2/+0 | |
2019-09-25 | Packaging: debian: changed NAME in the init script | Konstantin Pavlov | 1 | -1/+1 | |
This fixes the following issues: - inability to stop unit daemon - default configuration from /etc/default/unit are not propagated to the daemon | |||||
2019-09-25 | Packages: added logrotate configuration for Debian packages. | Andrei Belov | 2 | -0/+19 | |
While here, made logrotate configuration consistent between rpm and deb. This closes #323 issue on GitHub. | |||||
2019-09-24 | Tests: static tests with file system objects. | Andrey Zelenkov | 1 | -0/+24 | |
2019-09-20 | Removed linux/sched.h include. | Tiago Natel | 1 | -4/+0 | |
The <sched.h> is already included by nxt_unix.h. This closes #314 PR on GitHub. | |||||
2019-09-20 | Releasing init struct in case of errors. | Tiago Natel | 1 | -4/+10 | |
Found by Coverity (CID 349485). | |||||
2019-09-20 | Closing leaking file descriptor. | Tiago Natel | 1 | -0/+4 | |
Found by Coverity (CID 349484). | |||||
2019-09-24 | Static: returning 404 for Unix domain sockets. | Valentin Bartenev | 2 | -0/+12 | |
It's now similar to how attempts to access other non-regular files are handled. | |||||
2019-09-23 | PHP: zeroing the whole file_handle structure. | Sergey Kandaurov | 1 | -2/+2 | |
Fixes segfaults with PHP 7.4. | |||||
2019-09-20 | Fixed segfault if an inappropriate file system object is requested. | Valentin Bartenev | 1 | -1/+2 | |
Found by Coverity (CID 349483). | |||||
2019-09-20 | Version bump. | Valentin Bartenev | 1 | -2/+2 | |
2019-09-19 | Added tag 1.11.0 for changeset 3b1601ac0f2f | Valentin Bartenev | 1 | -0/+1 | |
2019-09-19 | Generated Dockerfiles for Unit 1.11.0.1.11.0 | Valentin Bartenev | 9 | -9/+9 | |
2019-09-19 | Added version 1.11.0 CHANGES. | Valentin Bartenev | 2 | -0/+84 | |