Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-07-07 | Cosmetic changes to remove some annoying valgrind messages. | Max Romanov | 3 | -2/+12 | |
2017-07-07 | Using engine's task instead of listen's task. | Max Romanov | 1 | -0/+4 | |
2017-07-07 | Redirecting buffer completion handler to specific engine. | Max Romanov | 9 | -79/+236 | |
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-06 | Controller: sending JSON configuration to router. | Valentin Bartenev | 4 | -33/+288 | |
2017-07-06 | Fixed mapping of int32_t in nxt_conf_map_object(). | Valentin Bartenev | 1 | -1/+1 | |
2017-07-06 | Router: read configuration from port. | Max Romanov | 6 | -19/+96 | |
Controller: stub to send configuration from POST body "as is" to router. | |||||
2017-07-05 | An assertion on listening socket close. | Igor Sysoev | 1 | -2/+5 | |
2017-07-05 | By default a number of router worker threads is set to a number | Igor Sysoev | 1 | -0/+4 | |
of CPUs. | |||||
2017-07-05 | Configuration: basic validation of schema. | Valentin Bartenev | 4 | -53/+287 | |
2017-07-05 | Router: processing JSON configuration. | Igor Sysoev | 8 | -131/+445 | |
2017-07-05 | PHP SAPI: SERVER_NAME, SERVER_PORT and REMOTE_ADDR introduced. | Max Romanov | 1 | -79/+146 | |
2017-07-05 | Python WSGI: SERVER_NAME, SERVER_PORT fixed, REMOTE_ADDR introduced. | Max Romanov | 3 | -59/+92 | |
Shortcut: do not iterate over String (or Bytes) return object. Call 'close()' for return object (if present). | |||||
2017-07-05 | Complex target parser copied from NGINX. | Max Romanov | 9 | -54/+413 | |
nxt_app_request_header_t fields renamed: - 'path' renamed to 'target'. - 'path_no_query' renamed to 'path' and contains parsed value. | |||||
2017-06-29 | Added nxt_msec_t element to nxt_conf_map_object(). | Igor Sysoev | 2 | -9/+16 | |
2017-06-29 | Fixed port processing in nxt_sockaddr_text(). | Igor Sysoev | 2 | -5/+7 | |
2017-06-29 | Using static and constant linger structure. | Igor Sysoev | 2 | -16/+16 | |
2017-06-28 | Fixed building on Solaris broken in changeset 4077decf847b. | Igor Sysoev | 2 | -3/+3 | |
2017-06-28 | Controller: fixed reading of request body. | Valentin Bartenev | 1 | -13/+15 | |
2017-06-28 | Configuration: reduced names of structures, functions, and macros. | Valentin Bartenev | 3 | -376/+362 | |
2017-06-28 | Fixed building with enabled IPv6 support. | Igor Sysoev | 1 | -4/+4 | |
2017-06-28 | JSON property iterator nxt_conf_json_object_next_member(). | Igor Sysoev | 2 | -0/+30 | |
2017-06-28 | Setting listen socket fields lost in changeset 10688b89aa16. | Igor Sysoev | 2 | -0/+4 | |
2017-06-28 | Small optimization in nxt_sockaddr_text(). | Igor Sysoev | 1 | -13/+4 | |
2017-06-27 | Fixed INET6 sockaddr processing in nxt_sockaddr_text(). | Igor Sysoev | 1 | -5/+8 | |
2017-06-27 | Fixed Unix sockaddr processing in nxt_sockaddr_text(). | Igor Sysoev | 1 | -5/+2 | |
2017-06-27 | nxt_sockaddr_parse() introducted. | Igor Sysoev | 2 | -1/+208 | |
2017-06-27 | Applied nxt_pointer_to() and nxt_value_at() where possible. | Valentin Bartenev | 16 | -37/+28 | |
2017-06-26 | Interface for mapping JSON configuration objects to C structures. | Valentin Bartenev | 3 | -3/+148 | |
2017-06-26 | Simplified nxt_conf_json_object_get_member(). | Valentin Bartenev | 1 | -7/+1 | |
2017-06-26 | Double buf completion call on connection timeout fixed. | Max Romanov | 1 | -5/+1 | |
2017-06-26 | PHP post body processing fixed, default index name introduced. | Max Romanov | 1 | -8/+32 | |
2017-06-26 | Build on Solaris 11 fixed. | Max Romanov | 6 | -7/+42 | |
2017-06-23 | Configuration printing functions splitted in two parts. | Valentin Bartenev | 3 | -162/+213 | |
Requested by Igor. | |||||
2017-06-23 | Renames and reordering of parameters in configuration parser functions. | Valentin Bartenev | 3 | -261/+278 | |
Requested by Igor. | |||||
2017-06-23 | Incoming and outgoing port_mmap arrays are protected with mutexes. | Max Romanov | 4 | -21/+33 | |
2017-06-23 | Increased size of iovec when data passed using shared memory. | Max Romanov | 1 | -2/+4 | |
Useful for tiny shared memory segment test case. | |||||
2017-06-23 | Added basic HTTP request processing in router. | Max Romanov | 9 | -33/+563 | |
- 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 | External Go app request processing. | Max Romanov | 21 | -0/+2270 | |
2017-06-23 | PHP app request processing. | Max Romanov | 1 | -275/+419 | |
2017-06-23 | Python app request processing. | Max Romanov | 1 | -238/+315 | |
2017-06-23 | Application-side message processing. | Max Romanov | 6 | -765/+520 | |
Usage on the router side: nxt_app_wmsg_t wmsg; nxt_app_parse_ctx_t parse_ctx; nxt_app_http_req_init(task, &parse_ctx); /* parse incoming request data */ if (nxt_app_http_req_parse(task, &parse_ctx, buf) == NXT_DONE) { /* choose app */ nxt_app = nxt_select_app(... &parse_ctx.r ...); /* find port */ wmsg.port = nxt_get_app_port(... nxt_app ...); wmsg.buf = &wmsg.write; /* fill write message buffer in shared mem */ nxt_app->prepare_msg(task, &parse_ctx.r, &wmsg); /* send message to app for processing */ nxt_port_socket_write(task, wmsg.port, NXT_PORT_MSG_DATA, -1, 0, 0, wmsg.write); } | |||||
2017-06-23 | Added mem_pool pointer member to nxt_port_send_msg_t. | Max Romanov | 2 | -1/+3 | |
To decouple nxt_port_send_msg_t from port. | |||||
2017-06-23 | Moved message size to nxt_port_recv_msg_t for convenience. | Max Romanov | 4 | -35/+17 | |
2017-06-23 | Extruded nxt_port_send_port() to send port to one process. | Max Romanov | 2 | -26/+36 | |
2017-06-23 | Store pointer to shared memory start in buf->parent. | Max Romanov | 3 | -232/+392 | |
nxt_port_mmap_t stored in arrays and it is unsafe to store pointer to array element. Shared memory structures and macros moved to separate header file to be used by GO package. | |||||
2017-06-23 | Store mem_pool in buf->data instead of port for consistency. | Max Romanov | 2 | -18/+38 | |
2017-06-23 | nxt_process_create() changed to add process to runtime before callbacks. | Max Romanov | 3 | -16/+21 | |
2017-06-23 | nxt_port_create() use task instead of thread. | Max Romanov | 3 | -6/+6 | |
Write socket close() call moved out from nxt_port_create(). | |||||
2017-06-23 | Shorter shared memory name generated. | Max Romanov | 1 | -2/+2 | |
2017-06-23 | lvlhash for ports moved to separate files for future re-use. | Max Romanov | 5 | -102/+187 | |