summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2017-06-14nxt_event_conn_... functions and structures have been renamedIgor Sysoev37-2010/+1923
to nxt_conn_...
2017-06-14Router: follow up to HTTP parser changes.Igor Sysoev1-0/+6
2017-06-13HTTP parser: decoupled header fields processing.Valentin Bartenev4-252/+395
2017-06-09HTTP parser: fixed handling header fields with missing colon.Valentin Bartenev2-1/+15
2017-06-09Fixed building by GCC 7 (broken in 0b10a73d4993).Valentin Bartenev1-3/+1
2017-06-09Fixed building with epoll (broken in 92b4984ca3c1).Valentin Bartenev1-1/+1
2017-06-06C99 style declaration of connection states.Igor Sysoev9-158/+81
2017-06-06Optimization of kqueue event processing on connection close.Igor Sysoev1-3/+12
2017-06-06The controller did not work because of changes in the previousIgor Sysoev2-2/+2
changeset.
2017-05-31Skeleton of router configuration and request processing.Igor Sysoev21-261/+1447
2017-05-31HTTP parser: changed style of a comment.Valentin Bartenev1-4/+4
As requested by Igor.
2017-05-30Controller: support for partial PUT and DELETE operations.Valentin Bartenev3-71/+539
2017-05-29A small rbtree delete fixup optimization.Igor Sysoev1-2/+2
Setting node color to black is not required here because it is already black. Besides in the original algorithm the node pointer is discarded and the node is set to tree root just to quit the loop. Thanks to 洪志道 (Hong Zhi Dao).
2017-05-26Style and a trivial fix.Valentin Bartenev3-4/+4
2017-05-26A small rbtree insert fixup optimization.Igor Sysoev1-4/+9
Thanks to 洪志道 (Hong Zhi Dao).
2017-05-23Optimized internal representation of JSON objects and arrays.Valentin Bartenev2-178/+266
2017-05-18Controller: partial retrieving of configuration.Valentin Bartenev3-6/+61
2017-05-16Controller: pretty-printing of JSON responses.Valentin Bartenev3-50/+184
2017-05-15Controller: trivial abilities to save and request configuration.Valentin Bartenev3-48/+109
Now you can get current configuration with: $ curl 127.0.0.1:8443 and put new configuration with: $ curl -X PUT -d @conf.json 127.0.0.1:8443
2017-05-12Fixed building test on SolarisMax Romanov2-2/+2
2017-05-12Using shared memory to send data via nxt_port.Max Romanov19-181/+1501
Usage: b = nxt_port_mmap_get_buf(task, port, size); b->mem.free = nxt_cpymem(b->mem.free, data, size); nxt_port_socket_write(task, port, NXT_PORT_MSG_DATA, -1, 0, b);
2017-05-12Fixed error introduced in rev d3dfd7c497e8.Igor Sysoev1-0/+1
2017-05-10Added one more missing "fall through" comment in tests.Valentin Bartenev1-0/+1
2017-05-10Added missing "fall through" comments to make GCC 7 happy.Valentin Bartenev2-0/+5
2017-04-25HTTP parser: fixed minimum length optimization in headers hash.Valentin Bartenev1-4/+7
2017-04-21Macros for atomic 'OR' and 'AND' operations introduced.Max Romanov2-0/+25
Compiler built-ins used, where possible. Necessary configure checks added. New macros: nxt_atomic_or_fetch(ptr, val) nxt_atomic_and_fetch(ptr, val) Syntax and behaviour is similar to __sync_or_and_fetch and __sync_and_and_fetch GCC build-ins.
2017-04-10Fixed overflow detection in number parsing functions.Valentin Bartenev1-48/+52
2017-04-11The nxt_expect() macro.Valentin Bartenev1-2/+10
2017-04-11Fixed building on MacOSX.Igor Sysoev1-9/+5
2017-04-11JSON output in controller.Valentin Bartenev3-14/+384
2017-04-11JSON parser: fixed missing initialization of short string length.Valentin Bartenev1-0/+2
2017-04-10Style and micro-optimizations in JSON parsing.Valentin Bartenev1-12/+14
2017-04-10Removed unused nxt_lvlhsh_ctx_t.Valentin Bartenev1-11/+0
2017-04-10JSON parsing in controller.Valentin Bartenev4-14/+823
2017-03-23Event connection writing fixes.Igor Sysoev1-0/+9
2017-03-16Some basic HTTP handling in controller.Valentin Bartenev1-7/+299
2017-03-14Solaris compatibilty.Igor Sysoev4-21/+23
2017-03-14Adding CFLAGS to link commands to pass flags required byIgor Sysoev1-2/+2
AddressSanitizer.
2017-03-14Fixed building on FreeBSD.Igor Sysoev2-2/+2
2017-03-14Importing memory cache pool changes from nJScript.Igor Sysoev3-128/+195
2017-03-14Zero size memory pool allocations have been disabled in unit testIgor Sysoev1-5/+11
becuase they are handled incorrectly with the -DNXT_DEBUG_MEMORY=1 option.
2017-03-14Fixed unit tests building broken by the previous commit.Igor Sysoev6-18/+28
2017-03-09Processes refactoring.Igor Sysoev47-2675/+2594
The cycle has been renamed to the runtime.
2017-03-08More optimizations of HTTP parser.Valentin Bartenev1-103/+63
SSE 4.2 code removed, since loop unrolling gives better results.
2017-03-08HTTP parser benchmark.Valentin Bartenev1-3/+176
2017-03-06Cleanup of memory allocated in nxt_mem_cache_pool_unit_test().Valentin Bartenev1-0/+2
Leak sanitizer is happy now.
2017-03-01HTTP parser.Valentin Bartenev7-0/+1429
2017-03-01Removed legacy HTTP parser.Valentin Bartenev6-679/+0
2017-02-22Port changes.Igor Sysoev11-300/+272
2017-02-22I/O operations refactoring.Igor Sysoev49-1214/+1143