Commit Graph

  • 288fa85431 Array elements reallocation fixed. Max Romanov 2017-07-12 20:32:22 +03:00
  • 48afadfe7c Memory pool debug enabled with NXT_DEBUG_ALLOC define. Max Romanov 2017-07-12 20:32:20 +03:00
  • 7d3fd1c96c Single allocation for app conf and name. Max Romanov 2017-07-12 20:32:19 +03:00
  • a97a5e8a0b Go: worker initialization. READY message to master. Max Romanov 2017-07-12 20:32:18 +03:00
  • 51bbdd3338 PHP SAPI: dynamic worker initialization. Max Romanov 2017-07-12 20:32:17 +03:00
  • b0c1e740cf New process port exchange changed. READY message type introduced. Max Romanov 2017-07-12 20:32:16 +03:00
  • c38bcb7d70 Controller: proper reconfiguration requests handling. Valentin Bartenev 2017-07-12 20:21:17 +03:00
  • 4f4061061b Sending a result of configuration applying back to the controller. Igor Sysoev 2017-07-11 20:14:50 +03:00
  • 3bccb7f358 Introducing thread-safe nxt_random(). Igor Sysoev 2017-07-10 21:07:12 +03:00
  • dc874cd22e Configuration: improved validation. Valentin Bartenev 2017-07-10 18:53:36 +03:00
  • eb4c2e4a21 Configuration: nxt_conf_map_object() improvements. Valentin Bartenev 2017-07-10 17:55:51 +03:00
  • c0674de78d Controller: passing full configuration to router. Valentin Bartenev 2017-07-10 17:55:44 +03:00
  • aaf9378dcc Router: a fix in the previous changeset. Igor Sysoev 2017-07-07 21:20:29 +03:00
  • b54bcef53d Router: processing application configuration. Igor Sysoev 2017-07-07 21:09:45 +03:00
  • fd0a4ff064 Configuration: basic schema validation for applications. Valentin Bartenev 2017-07-07 20:37:43 +03:00
  • e41425bb1f Router: connection destroy sequence fixed. Max Romanov 2017-07-07 18:16:14 +03:00
  • fc9f73bbea Controller: relaxed JSON parser. Valentin Bartenev 2017-07-07 18:09:15 +03:00
  • 9a402ea83d Taken counter initialized for new pages. Max Romanov 2017-07-07 16:01:34 +03:00
  • e58f4ef0d0 Memory pool thread safety checks in DEBUG build and usage fixes. Max Romanov 2017-07-07 16:01:34 +03:00
  • e15b975e9d Work queue thread safety checks for DEBUG build. Max Romanov 2017-07-07 16:01:34 +03:00
  • 5529e9f0d1 Python initialization moved from master to worker application. Max Romanov 2017-07-07 16:01:34 +03:00
  • 74cda90e31 Process stop notification from master to all other processes. Max Romanov 2017-07-07 16:01:34 +03:00
  • 61008a7c0b Cosmetic changes to remove some annoying valgrind messages. Max Romanov 2017-07-07 16:01:34 +03:00
  • 264ae98d49 Using engine's task instead of listen's task. Max Romanov 2017-07-07 16:01:34 +03:00
  • f319220a6c Redirecting buffer completion handler to specific engine. Max Romanov 2017-07-07 16:01:34 +03:00
  • c9fbd832ab Controller: sending JSON configuration to router. Valentin Bartenev 2017-07-06 22:52:05 +03:00
  • 22d73057d9 Fixed mapping of int32_t in nxt_conf_map_object(). Valentin Bartenev 2017-07-06 22:50:38 +03:00
  • c56d2af3bc Router: read configuration from port. Max Romanov 2017-07-06 18:38:51 +03:00
  • e1219569f4 An assertion on listening socket close. Igor Sysoev 2017-07-05 22:55:07 +03:00
  • 4ed0a15cd0 By default a number of router worker threads is set to a number of CPUs. Igor Sysoev 2017-07-05 22:53:29 +03:00
  • 842aa9ab46 Configuration: basic validation of schema. Valentin Bartenev 2017-07-05 18:44:43 +03:00
  • 4fe5d22dcc Router: processing JSON configuration. Igor Sysoev 2017-07-05 14:05:21 +03:00
  • d28d502aa5 PHP SAPI: SERVER_NAME, SERVER_PORT and REMOTE_ADDR introduced. Max Romanov 2017-07-05 13:32:02 +03:00
  • 41e2678110 Python WSGI: SERVER_NAME, SERVER_PORT fixed, REMOTE_ADDR introduced. Max Romanov 2017-07-05 13:31:53 +03:00
  • f3107f3896 Complex target parser copied from NGINX. Max Romanov 2017-07-05 13:31:45 +03:00
  • f05d674126 Added nxt_msec_t element to nxt_conf_map_object(). Igor Sysoev 2017-06-29 19:26:32 +03:00
  • 46c6513c2b Fixed port processing in nxt_sockaddr_text(). Igor Sysoev 2017-06-29 19:25:46 +03:00
  • 499a8f9ac8 Using static and constant linger structure. Igor Sysoev 2017-06-29 15:52:47 +03:00
  • 52f79c3e53 Fixed building on Solaris broken in changeset 4077decf847b. Igor Sysoev 2017-06-28 23:52:07 +03:00
  • e4afc6ae98 Controller: fixed reading of request body. Valentin Bartenev 2017-06-28 22:48:13 +03:00
  • 53074c3b29 Configuration: reduced names of structures, functions, and macros. Valentin Bartenev 2017-06-28 18:56:33 +03:00
  • ec5e540fd7 Fixed building with enabled IPv6 support. Igor Sysoev 2017-06-28 18:01:00 +03:00
  • ee381fcca1 JSON property iterator nxt_conf_json_object_next_member(). Igor Sysoev 2017-06-28 15:26:54 +03:00
  • d8f371dde9 Setting listen socket fields lost in changeset 10688b89aa16. Igor Sysoev 2017-06-28 15:16:28 +03:00
  • 61c20aae4b Small optimization in nxt_sockaddr_text(). Igor Sysoev 2017-06-28 09:33:35 +03:00
  • 2006e9f537 Fixed INET6 sockaddr processing in nxt_sockaddr_text(). Igor Sysoev 2017-06-27 20:06:59 +03:00
  • cf3e714c39 Fixed Unix sockaddr processing in nxt_sockaddr_text(). Igor Sysoev 2017-06-27 20:06:56 +03:00
  • 9041d276fc nxt_sockaddr_parse() introducted. Igor Sysoev 2017-06-27 19:06:58 +03:00
  • dfd3cc8c0e Applied nxt_pointer_to() and nxt_value_at() where possible. Valentin Bartenev 2017-06-27 17:27:18 +03:00
  • f86c803098 Interface for mapping JSON configuration objects to C structures. Valentin Bartenev 2017-06-26 21:41:58 +03:00
  • 01517e37c1 Simplified nxt_conf_json_object_get_member(). Valentin Bartenev 2017-06-26 20:22:57 +03:00
  • 44b3ad17f4 Double buf completion call on connection timeout fixed. Max Romanov 2017-06-26 19:58:43 +03:00
  • d62e6c3b18 PHP post body processing fixed, default index name introduced. Max Romanov 2017-06-26 19:58:43 +03:00
  • b53b7b0413 Build on Solaris 11 fixed. Max Romanov 2017-06-26 19:58:43 +03:00
  • 9399a04121 Configuration printing functions splitted in two parts. Valentin Bartenev 2017-06-23 23:28:37 +03:00
  • 72429410f7 Renames and reordering of parameters in configuration parser functions. Valentin Bartenev 2017-06-23 20:54:07 +03:00
  • 83088a0f4b Incoming and outgoing port_mmap arrays are protected with mutexes. Max Romanov 2017-06-23 19:20:08 +03:00
  • abe0d33329 Increased size of iovec when data passed using shared memory. Max Romanov 2017-06-23 19:20:08 +03:00
  • b8f126dcdf Added basic HTTP request processing in router. Max Romanov 2017-06-23 19:20:08 +03:00
  • 4a1b59c27a External Go app request processing. Max Romanov 2017-06-23 19:20:08 +03:00
  • 5a43bd0bfd PHP app request processing. Max Romanov 2017-06-23 19:20:08 +03:00
  • fa6582d9ad Python app request processing. Max Romanov 2017-06-23 19:20:08 +03:00
  • e7a0634a71 Application-side message processing. Max Romanov 2017-06-23 19:20:08 +03:00
  • 3b9aa27625 Added mem_pool pointer member to nxt_port_send_msg_t. Max Romanov 2017-06-23 19:20:08 +03:00
  • eaf28db46e Moved message size to nxt_port_recv_msg_t for convenience. Max Romanov 2017-06-23 19:20:08 +03:00
  • 3e989a165c Extruded nxt_port_send_port() to send port to one process. Max Romanov 2017-06-23 19:20:08 +03:00
  • 0cd9521687 Store pointer to shared memory start in buf->parent. Max Romanov 2017-06-23 19:20:04 +03:00
  • b13cdb0faa Store mem_pool in buf->data instead of port for consistency. Max Romanov 2017-06-23 19:19:41 +03:00
  • ac43bfcc72 nxt_process_create() changed to add process to runtime before callbacks. Max Romanov 2017-06-23 19:19:41 +03:00
  • e5fe254e1e nxt_port_create() use task instead of thread. Max Romanov 2017-06-23 19:19:41 +03:00
  • 89ab9a9d05 Shorter shared memory name generated. Max Romanov 2017-06-23 19:19:41 +03:00
  • 0fdcdde6c8 lvlhash for ports moved to separate files for future re-use. Max Romanov 2017-06-23 19:19:41 +03:00
  • 58e20da984 Runtime ports fix, add enumeration macros. Max Romanov 2017-06-23 19:19:41 +03:00
  • fa94dc7782 Configuration: fixed parsing of JSON literals. Valentin Bartenev 2017-06-23 17:35:06 +03:00
  • 3fcda23f15 Style and comment fixes. Igor Sysoev 2017-06-23 13:28:39 +03:00
  • 9593ce769a Removed surplus type casting from nxt_memcmp() calls. Valentin Bartenev 2017-06-21 22:45:20 +03:00
  • 58e24662da Fixed building by GCC 4.8 and older. Valentin Bartenev 2017-06-21 22:35:41 +03:00
  • 5e73d93999 Optimizations in nxt_mp_create(). Igor Sysoev 2017-06-21 10:21:06 +03:00
  • d59e906c01 Fixed building with -DNXT_DEBUG_MEMORY=1 (broken in 10688b89aa16). Igor Sysoev 2017-06-21 10:20:41 +03:00
  • accb489492 HTTP parser: reduced memory consumption of header fields list. Valentin Bartenev 2017-06-20 22:32:13 +03:00
  • 1a22195830 Fixed errors in the previous changeset. Igor Sysoev 2017-06-20 19:59:12 +03:00
  • f888a5310c Using new memory pool implementation. Igor Sysoev 2017-06-20 19:49:17 +03:00
  • c7ab908c19 Fixed error in the previous changeset. Igor Sysoev 2017-06-20 13:56:28 +03:00
  • b1b9f621a4 Memory pools refactoring. Igor Sysoev 2017-06-19 16:26:19 +03:00
  • 7574c64992 nxt_event_conn_... functions and structures have been renamed to nxt_conn_... Igor Sysoev 2017-06-14 15:18:52 +03:00
  • 3e2632688f Router: follow up to HTTP parser changes. Igor Sysoev 2017-06-14 15:18:43 +03:00
  • db6642f374 HTTP parser: decoupled header fields processing. Valentin Bartenev 2017-06-13 20:11:29 +03:00
  • f6e7c2b6a6 HTTP parser: fixed handling header fields with missing colon. Valentin Bartenev 2017-06-09 21:49:51 +03:00
  • c5cd7e5e97 Fixed building by GCC 7 (broken in 0b10a73d4993). Valentin Bartenev 2017-06-09 21:38:10 +03:00
  • cb1624fa42 Fixed building with epoll (broken in 92b4984ca3c1). Valentin Bartenev 2017-06-09 21:37:29 +03:00
  • d0c72e0726 C99 style declaration of connection states. Igor Sysoev 2017-06-06 18:57:58 +03:00
  • 49e9049ed2 Optimization of kqueue event processing on connection close. Igor Sysoev 2017-06-06 18:57:52 +03:00
  • 71c906a512 The controller did not work because of changes in the previous changeset. Igor Sysoev 2017-06-06 18:53:15 +03:00
  • 5bc011afad Skeleton of router configuration and request processing. Igor Sysoev 2017-05-31 15:26:45 +03:00
  • dee819daab HTTP parser: changed style of a comment. Valentin Bartenev 2017-05-31 14:35:33 +03:00
  • c0bf729c8e Controller: support for partial PUT and DELETE operations. Valentin Bartenev 2017-05-30 17:12:20 +03:00
  • f5c3b1c637 A small rbtree delete fixup optimization. Igor Sysoev 2017-05-29 10:17:36 +03:00
  • 5cca4b3ab7 Style and a trivial fix. Valentin Bartenev 2017-05-26 20:30:51 +03:00
  • 4f9f463799 A small rbtree insert fixup optimization. Igor Sysoev 2017-05-26 19:12:47 +03:00
  • 48155f3a49 Optimized internal representation of JSON objects and arrays. Valentin Bartenev 2017-05-23 14:02:37 +03:00