274:bddb9c182ac0 | 05-Sep-2017 |
Max Romanov |
Fixing racing condition on app port release/request.
Application free ports is a queue (double linked list) protected with mutex. After successfull request parsing, each router thread (1) tries to g
Fixing racing condition on app port release/request.
Application free ports is a queue (double linked list) protected with mutex. After successfull request parsing, each router thread (1) tries to get port from this list. If this list is empty, (2) start worker request posted to main router thread. Another thread may release port between (1) and (2).
This fix adds an attempt to get port from free ports list at the beginning of start worker action in main thread.
show more ...
|
273:f141b801be2d | 05-Sep-2017 |
Max Romanov |
Double connection close attempt fix. |
272:24b036fbd431 | 05-Sep-2017 |
Max Romanov |
Using CSTRZ mapping type for go executable. |
271:7ccb44476d36 | 05-Sep-2017 |
Max Romanov |
Introducing working_directory directive for applications. |
268:edc0be4404a7 | 01-Sep-2017 |
Igor Sysoev |
Added SERVER_ADDR parameter for Python and PHP modules. |
267:55afdf1d0b85 | 31-Aug-2017 |
Igor Sysoev |
Fixed format specifier. |
264:f15eb005b05a | 31-Aug-2017 |
Max Romanov |
Multiplexing different requests in single app port. |
263:3dfbe8255d9d | 31-Aug-2017 |
Max Romanov |
Default value 1 for number of workers. |
261:950d8bee6b3d | 31-Aug-2017 |
Sergey Kandaurov |
PHP SAPI: typo fixed. |
260:2a6ee82d77c1 | 30-Aug-2017 |
Igor Sysoev |
Changed modules names format. |
259:9cf0e151e752 | 30-Aug-2017 |
Igor Sysoev |
nginext has been renamed to unit. |
258:cf535a38c52b | 30-Aug-2017 |
Igor Sysoev |
Introduced module compatibility vector. |
256:7c30fa52cc3e | 30-Aug-2017 |
Max Romanov |
Avoid nxt_port_mmap_header_t redefinition warning. |
255:1f5a81b57e70 | 30-Aug-2017 |
Max Romanov |
Avoid nxt_go_process_t redefinition warning. |
254:6aee7189c62f | 30-Aug-2017 |
Max Romanov |
ListenAndServe changed to be compatible with http.ListenAndServe. |
253:6a33d90fa82d | 30-Aug-2017 |
Max Romanov |
Send remote address to go application. |
252:f80fdef4e4d4 | 30-Aug-2017 |
Max Romanov |
Fixed pid_file pattern misprint introduced in 231:6832cdee961e. |
251:930633c89ea8 | 30-Aug-2017 |
Igor Sysoev |
Adding a missing slash to the tail of path set by --modules command line option. |
250:cdbb1ada6506 | 30-Aug-2017 |
Igor Sysoev |
The discovery process did not quit if no modules were not found. |
249:7ba0accb6a43 | 30-Aug-2017 |
Valentin Bartenev |
Controller: resending configuration to router after its restart.
Now router crash can be survived with less damage. |
248:4e30c21dd5be | 30-Aug-2017 |
Valentin Bartenev |
Controller: waiting for router before start to accept connections.
Previously, reconfiguration might fail right after the daemon start if the router process wasn't ready yet. |
247:229ae00c6e68 | 30-Aug-2017 |
Valentin Bartenev |
Controller: correct handling of missing router port.
There's no router port if the router process is just crashed or hasn't started yet. |
246:f7cb63f38fd0 | 29-Aug-2017 |
Igor Sysoev |
Lib unit tests have been renamed to tests. |
245:69598a91c517 | 29-Aug-2017 |
Max Romanov |
The process type enum exposed to go module. |
244:7bd94ae35381 | 29-Aug-2017 |
Max Romanov |
Fixed debug message broken in e8da77a2c293. |