Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-14 | Introduced chained buffer completion handlers. | Igor Sysoev | 9 | -31/+113 | |
2019-11-14 | Using event engine memory buffers in HTTP/1 layer. | Igor Sysoev | 4 | -15/+18 | |
2019-11-14 | Introduced event engine memory buffers. | Igor Sysoev | 4 | -22/+83 | |
2019-11-14 | Event engine memory cache refactored. | Igor Sysoev | 3 | -14/+48 | |
2019-11-14 | Using request task. | Igor Sysoev | 3 | -2/+13 | |
2019-11-14 | Replacing pass with action. | Igor Sysoev | 6 | -110/+162 | |
2019-11-14 | Fixed connect(2) errors processing on old Linuxes. | Igor Sysoev | 4 | -30/+61 | |
While connect(2) states that non-blocking connect should use EPOLLOUT: EINPROGRESS The socket is non-blocking and the connection cannot be completed immediately. It is possible to select(2) or poll(2) for completion by selecting the socket for writing. After select(2) indicates writability, use getsockopt(2) to read the SO_ERROR option at level SOL_SOCKET to determine whether connect() completed successfully (SO_ERROR is zero) or unsuccessfully (SO_ERROR is one of the usual error codes listed here, explaining the reason for the failure). On connect error, Linux 2.6.32 (CentOS 6) may return EPOLLRDHUP, EPOLLERR, EPOLLHUP, EPOLLIN, but not EPOLLOUT. | |||||
2019-11-13 | Tests: fixed websocket tests. | Andrei Zeliankou | 3 | -81/+38 | |
2019-11-13 | Tests: added Python test with threading. | Andrei Zeliankou | 2 | -0/+46 | |
2019-11-13 | Python: releasing GIL while waiting for a request. | Valentin Bartenev | 1 | -15/+23 | |
It unblocks other threads that can be forked by the application to work in background. This closes #336 issue on GitHub. | |||||
2019-11-13 | Tests: added Ruby test with constants. | Andrey Zelenkov | 2 | -0/+38 | |
2019-11-13 | Ruby: fixing initialization sequence. | Max Romanov | 1 | -4/+7 | |
There was a change (ruby/ruby@6c70fed) in Ruby 2.6 that moved RUBY_DESCRIPTION global constant definition out of Init_version(). Unit initialized Ruby incorrectly, so the constant was not defined. This closes #330 issue on GitHub. | |||||
2019-11-11 | Fixing libunit 'off by 2' issue in library. | Max Romanov | 4 | -16/+27 | |
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. | |||||
2019-11-08 | Tests: fixed operator in http.py. | Andrey Zelenkov | 1 | -1/+1 | |
2019-11-07 | Respecting AR environment variable to configure ar binary. | Valentin Bartenev | 3 | -12/+22 | |
2019-10-29 | Process port refactoring. | Hong Zhi Dao | 6 | -67/+65 | |
- Introduced nxt_runtime_process_port_create(). - Moved nxt_process_use() into nxt_process.c from nxt_runtime.c. - Renamed nxt_runtime_process_remove_pid() as nxt_runtime_process_remove(). - Some public functions transformed to static. This closes #327 issue on GitHub. | |||||
2019-10-29 | Allocating process init struct from runtime memory pool. | Max Romanov | 2 | -17/+14 | |
This avoids memory leak reports from the address sanitizer. | |||||
2019-10-28 | Added clone syscall check for uid/gid mapping. | Tiago Natel | 1 | -1/+1 | |
Now it's possible to pass -DNXT_HAVE_CLONE=0 for debugging. | |||||
2019-10-28 | Releasing the memory of removed thread pools at exit. | Tiago Natel | 1 | -0/+2 | |
2019-10-23 | Tests: added test with invalid "working_directory" value. | Andrey Zelenkov | 1 | -0/+12 | |
2019-10-23 | Tests: more URI normalization tests. | Andrey Zelenkov | 1 | -8/+52 | |
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 | |