#
2139:99d792169ffb |
| 16-Jun-2022 |
Andrew Clayton |
Constified numerous function parameters.
As was pointed out by the cppcheck[0] static code analysis utility we can mark numerous function parameters as 'const'. This acts as a hint to the compiler a
Constified numerous function parameters.
As was pointed out by the cppcheck[0] static code analysis utility we can mark numerous function parameters as 'const'. This acts as a hint to the compiler about our intentions and the compiler will tell us when we deviate from them.
[0]: https://cppcheck.sourceforge.io/
show more ...
|
Revision tags: 1.27.0-1, 1.27.0 |
|
#
2078:0996dd223cdd |
| 18-Dec-2021 |
Alejandro Colomar |
Fixed indentation.
Some lines (incorrectly) had an indentation of 3 or 5, or 7 or 9, or 11 or 13, or 15 or 17 spaces instead of 4, 8, 12, or 16. Fix them.
Found with:
$ find src -type f | xargs g
Fixed indentation.
Some lines (incorrectly) had an indentation of 3 or 5, or 7 or 9, or 11 or 13, or 15 or 17 spaces instead of 4, 8, 12, or 16. Fix them.
Found with:
$ find src -type f | xargs grep -n '^ [^ ]'; $ find src -type f | xargs grep -n '^ [^ *]'; $ find src -type f | xargs grep -n '^ [^ ]'; $ find src -type f | xargs grep -n '^ [^ *]'; $ find src -type f | xargs grep -n '^ [^ +]'; $ find src -type f | xargs grep -n '^ [^ *+]'; $ find src -type f | xargs grep -n '^ [^ +]'; $ find src -type f | xargs grep -n '^ [^ *+]';
show more ...
|
Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0, 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0, 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0 |
|
#
1563:d32bc428f46b |
| 12-Aug-2020 |
Valentin Bartenev |
Basic variables support.
|
Revision tags: 1.18.0-1, 1.18.0, 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0, 1.13.0-1, 1.13.0, 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, 1.10.0, 1.9.0-1, 1.9.0, 1.8.0-1, 1.8.0, 1.7.1-1, 1.7.1, 1.7-1, 1.7, 1.6-1, 1.6 |
|
#
832:4f5daf367ff7 |
| 10-Nov-2018 |
Valentin Bartenev |
Fixed "freed pointer is out of pool" alerts.
The issue was caused by misplacement of allocated blocks in rbtree due to broken comparison function if the distance between two allocations did not fit
Fixed "freed pointer is out of pool" alerts.
The issue was caused by misplacement of allocated blocks in rbtree due to broken comparison function if the distance between two allocations did not fit into intptr_t. As the result, nxt_mp_free() could have failed to find the allocation.
In particular, it was mostly observed when Unit was compiled with musl C library on 32-bits systems.
This closes #118 issue on GitHub.
show more ...
|
Revision tags: 1.5-1, 1.5, 1.4-2, 1.4 |
|
#
737:8ca436f03869 |
| 27-Jul-2018 |
Valentin Bartenev |
Removed implicit call of nxt_thread() in nxt_thread_tid().
Explicit is better than implicit © The Zen of Python.
The nxt_thread_tid(NULL) call was used only twice in the code and such behaviour was
Removed implicit call of nxt_thread() in nxt_thread_tid().
Explicit is better than implicit © The Zen of Python.
The nxt_thread_tid(NULL) call was used only twice in the code and such behaviour was specific to nxt_thread_tid() function.
show more ...
|
Revision tags: 1.3, 1.2, 1.1 |
|
#
653:182198e062bc |
| 20-Apr-2018 |
Igor Sysoev |
Prevention of freeing non-freeable memory pool block.
|
Revision tags: 1.0, 0.7 |
|
#
564:762f8c976ead |
| 05-Mar-2018 |
Valentin Bartenev |
Reduced number of critical log levels.
|
Revision tags: 0.6, 0.5, 0.4, 0.3 |
|
#
430:3a24c399394f |
| 28-Dec-2017 |
Igor Sysoev |
Changed nxt_mp_retain() and nxt_mp_release() interfaces.
|
Revision tags: 0.2, 0.1 |
|
#
197:ae8f843e1fd4 |
| 02-Aug-2017 |
Max Romanov |
Added basic port error handler.
|
#
164:7449e4954471 |
| 17-Jul-2017 |
Max Romanov |
Mem pool cleanup introduced.
Used for connection mem pool cleanup, which can be used by buffers. Used for port mem pool to safely destroy linked process.
|
#
147:4ed5e68f196c |
| 12-Jul-2017 |
Valentin Bartenev |
Fixed style and building with NXT_DEBUG_MEMORY after 3578a7b7ace4.
|
#
145:3578a7b7ace4 |
| 12-Jul-2017 |
Max Romanov |
Memory pool debug enabled with NXT_DEBUG_ALLOC define.
|
#
141:96a65c601420 |
| 12-Jul-2017 |
Max Romanov |
New process port exchange changed. READY message type introduced.
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker proce
New process port exchange changed. READY message type introduced.
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker process become ready.
show more ...
|
#
131:93f9f73846ab |
| 07-Jul-2017 |
Max Romanov |
Router: connection destroy sequence fixed.
|
#
129:0694be8daf90 |
| 07-Jul-2017 |
Max Romanov |
Taken counter initialized for new pages.
Fixed crash in nxt_mp_get() when pages re-used and 'taken' contains initial 'map' value '0xFFFFFFFF'.
|
#
128:cfa3a5ce7f2f |
| 07-Jul-2017 |
Max Romanov |
Memory pool thread safety checks in DEBUG build and usage fixes.
|
#
93:8c66fdbc526b |
| 26-Jun-2017 |
Max Romanov |
Build on Solaris 11 fixed.
|
#
72:e0cefa2185a5 |
| 23-Jun-2017 |
Igor Sysoev |
Style and comment fixes.
|
#
69:7286fc2bc8f7 |
| 21-Jun-2017 |
Igor Sysoev |
Optimizations in nxt_mp_create().
|
#
68:661110aad990 |
| 21-Jun-2017 |
Igor Sysoev |
Fixed building with -DNXT_DEBUG_MEMORY=1 (broken in 10688b89aa16).
|
#
64:3728a1601b9b |
| 20-Jun-2017 |
Igor Sysoev |
Fixed error in the previous changeset.
|
#
63:b79fe37d9f24 |
| 19-Jun-2017 |
Igor Sysoev |
Memory pools refactoring.
|