summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-07-07Using engine's task instead of listen's task.Max Romanov1-0/+4
2017-07-07Redirecting buffer completion handler to specific engine.Max Romanov1-11/+30
There is a case in router where we use port in router connection thread. Buffers are allocated within connection memory pool which can be used only in this router thread. sendmsg() can be postponed into main router thread and completion handler will compare current engine and post itself to correct engine.
2017-07-06Router: read configuration from port.Max Romanov1-18/+50
Controller: stub to send configuration from POST body "as is" to router.
2017-07-05An assertion on listening socket close.Igor Sysoev1-2/+5
2017-07-05By default a number of router worker threads is set to a numberIgor Sysoev1-0/+4
of CPUs.
2017-07-05Router: processing JSON configuration.Igor Sysoev1-119/+327
2017-07-05Python WSGI: SERVER_NAME, SERVER_PORT fixed, REMOTE_ADDR introduced.Max Romanov1-0/+3
Shortcut: do not iterate over String (or Bytes) return object. Call 'close()' for return object (if present).
2017-06-28Setting listen socket fields lost in changeset 10688b89aa16.Igor Sysoev1-0/+2
2017-06-26Double buf completion call on connection timeout fixed.Max Romanov1-5/+1
2017-06-23Added basic HTTP request processing in router.Max Romanov1-29/+349
- 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-20Using new memory pool implementation.Igor Sysoev1-46/+32
2017-06-19Memory pools refactoring.Igor Sysoev1-2/+3
2017-06-14nxt_event_conn_... functions and structures have been renamedIgor Sysoev1-24/+23
to nxt_conn_...
2017-06-14Router: follow up to HTTP parser changes.Igor Sysoev1-0/+6
2017-06-09Fixed building by GCC 7 (broken in 0b10a73d4993).Valentin Bartenev1-3/+1
2017-05-31Skeleton of router configuration and request processing.Igor Sysoev1-37/+1039
2017-03-09Processes refactoring.Igor Sysoev1-0/+85
The cycle has been renamed to the runtime.