Valentin Bartenev
da0ef366dc
Handling of timers with bias.
...
Timers that don't require maximum precision (most of them, actually) can be
triggered earlier or later within the bias interval.
To reduce wakeups by timers, the expire function now triggers not only all
timers that fall within the elapsed time, but also those whose bias falls
within this interval.
2018-10-22 16:04:16 +03:00
Igor Sysoev
96cd68b340
Added SSL/TLS support on connection level.
2018-09-20 15:05:37 +03:00
Igor Sysoev
ff6ca2a82c
Fixed keep-alive hanging after reconfiguration.
2018-05-30 18:46:05 +03:00
Igor Sysoev
c7e575d5c6
Introducing connection state io_read_handler.
2018-04-11 17:33:18 +03:00
Igor Sysoev
9a6d3c5775
HTTP keep-alive connections support.
2017-12-28 16:01:06 +03:00
Igor Sysoev
80e8ce8322
A number of engine connections is decreased on connection close.
2017-11-27 17:52:28 +03:00
Igor Sysoev
67c066b026
Router: fixed segfault after configuration change.
2017-10-18 18:05:47 +03:00
Igor Sysoev
09ef66d39c
Storing memory cache slot hint inside nxt_sockaddr_t.
2017-10-17 16:22:38 +03:00
Igor Sysoev
bfa808d689
Event engine memory cache for nxt_sockaddr_t.
...
Introducing event engine memory cache and using the cache for
nxt_sockaddr_t structures.
2017-09-27 19:22:59 +03:00
Max Romanov
0bec14878e
Introducing application timeout.
2017-09-15 20:30:24 +03:00
Igor Sysoev
b84aa64dcb
Removed configure option --no-threads.
2017-08-24 17:43:32 +03:00
Max Romanov
316c77a9de
Fixed building on Solaris by Sun C.
2017-07-25 16:18:31 +03:00
Max Romanov
6b6fefa497
Request-app link introduced to prevent mp destroy for penging requests.
...
nxt_req_conn_link_t still used for lookup connection by request id.
New nxt_req_app_link_t (ra) allocated from conn->mem_pool using mp_retain().
ra stored in app->requests if there is no free worker to process request.
2017-07-18 00:21:28 +03:00
Max Romanov
eb675f2d78
Port allocation and destroy changed. Worker process stop introduced.
2017-07-18 00:21:14 +03:00
Max Romanov
b0c1e740cf
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.
2017-07-12 20:32:16 +03:00
Max Romanov
b53b7b0413
Build on Solaris 11 fixed.
2017-06-26 19:58:43 +03:00
Max Romanov
b8f126dcdf
Added basic HTTP request processing in router.
...
- request to connection mapping in engine;
- requests queue in connection;
- engine port creation;
- connected ports hash for each process;
- engine port data messages processing (app responses);
2017-06-23 19:20:08 +03:00
Igor Sysoev
f888a5310c
Using new memory pool implementation.
2017-06-20 19:49:17 +03:00
Igor Sysoev
7574c64992
nxt_event_conn_... functions and structures have been renamed
...
to nxt_conn_...
2017-06-14 15:18:52 +03:00