186 Commits (e0370fac794b33acc4587641a2dd6d77a3f88782)

Author SHA1 Message Date
Stefan Bühler e0370fac79 Fix some lua handling; add args for lua plugins/handlers
13 years ago
Stefan Bühler f43f70de6e [lua] export path_simplify
13 years ago
Stefan Bühler 59835b5eb1 remove content-encoding, transfer-encoding and etag header for generated error bodies
13 years ago
Stefan Bühler d0f6484e7c Move sched_[gs]etaffinity to plugin_core
13 years ago
Stefan Bühler 905a83fc77 Add plugin hooks for server state machine changes
13 years ago
Stefan Bühler 30ebce774e Add "state-wait" api for server state machine
13 years ago
Thomas Porzelt d18045ccbf [core] Rework throttle code a bit, especially regarding pools
13 years ago
Thomas Porzelt fc09bf9095 [core] Don't allow spaces between integer value and its suffix, was not deterministic
13 years ago
Stefan Bühler 048a7d9144 Append to previous buffer in network reads, save used buffer in custom location
13 years ago
Stefan Bühler 13611b5243 Improve balancer handling
13 years ago
Stefan Bühler 2e131dc93f Put pathinfo debug messages into debug-request-handling
13 years ago
Thomas Porzelt 6a5411c2f1 [plugin_core] Set con->throttle.pool.queued to FALSE after unlinking from queue
13 years ago
Thomas Porzelt 1297a1fab7 [core] Fix crash in throttle pool handling
13 years ago
Stefan Bühler 750bd453a2 Append to previous buffer in network reads
13 years ago
Thomas Porzelt d8f5d21ec6 [core] Check for EV_ERROR in connection event callback
13 years ago
Stefan Bühler 7bb58debcb Fix previous commit: only update io-timeout timestamp after real IO
13 years ago
Stefan Bühler 8cf1033e4a Only update io-timeout timestamp after real IO
13 years ago
Stefan Bühler 3c2cef5f0d Handle ETIMEDOUT as connection close
13 years ago
Stefan Bühler 64c2fece96 config: add network cidr matching operators, =/ and !=
13 years ago
Stefan Bühler 00ef8599cf Export glib md5/sha1/sha256 hash functions to lua (hex output)
13 years ago
Stefan Bühler 5284ce9cb4 Fix option handling: need another opt_base_index for pointer options
13 years ago
Stefan Bühler 2e4aba7e39 Fix options: missed setting "pointer" options
13 years ago
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers
13 years ago
Stefan Bühler 64ba5fddce Cleanup value pointer extractions
13 years ago
Stefan Bühler cdb615293c [autobuild] Fix dependency problem with automake (automake doesn't like it if ../dir/ is cwd)
13 years ago
Stefan Bühler edd74a0e3c Rename lighttpd to lighttpd2
13 years ago
Thomas Porzelt 9bd5c39550 [core] Add vr->ts_started struct member, representing the ev_tstamp when the vr has been started
13 years ago
Thomas Porzelt 8716087728 [core] Rename con->ts to con->ts_started
13 years ago
Stefan Bühler 4fd27aca81 autotools: Fix linking
13 years ago
Stefan Bühler 63eadd22fa Fix buildsystems
13 years ago
Stefan Bühler fe7ddede88 Add lua plugins
13 years ago
Stefan Bühler b4c3e2ba02 Add userdata to action-create, setup and plugin-init callbacks
13 years ago
Stefan Bühler 881669d96a Add lua filters; fixed some lua-api bugs; enhanced lua chunkqueue api
13 years ago
Stefan Bühler 3d50819d14 Move the cqlimit reset/set back to connection.c (vrequest_reset may be called with data in con->raw_in, so cqlimit_reset isn't a good idea)
13 years ago
Stefan Bühler 402c45dc45 Add buffer-on-disk for uploads automatically
13 years ago
Stefan Bühler 2f06283832 Change internal conditional checks; export functions to read value of conditional-lvalues
13 years ago
Stefan Bühler b332fcbbb8 Add api for buffering chunkqueue content on disk
13 years ago
Stefan Bühler 3bc425fef1 Remove config parser code from main(), add cmake-option to disable default config parser
13 years ago
Stefan Bühler eff8ed5e50 Add request.environment[] conditional
13 years ago
Stefan Bühler 871a4dc8b5 Add unit-testing for range-parser and fix the parser
13 years ago
Stefan Bühler c5f6c3166d Replace lseek()+read() with pread() in chunk.c
13 years ago
Stefan Bühler 0c3ca6b13b add liBuffer: a reference-counted memory chunk (using mempool) for basic network data
13 years ago
Stefan Bühler f9b12036fe Add mempool allocator to avoid fragmentation
13 years ago
Thomas Porzelt b79cda7fce [core] Limit outgoing chunkqueue mem usage to 512kb by default
13 years ago
Thomas Porzelt 477a060821 Fix typo in previous commit
13 years ago
Thomas Porzelt cb7005bdf0 [core] Fix io.buffer_in action (was setting out buffer)
13 years ago
Stefan Bühler 8f69c6bc8d Reduce buffer allocs for network read
13 years ago
Stefan Bühler 1ac09ac2d1 Use relative timestamp for angel call timeouts, increase angel-listen timeout.
13 years ago
Thomas Porzelt 9989cd62ce [core] Fix value statements in config parser (now using stack for operator)
13 years ago
Stefan Bühler 49a99eb0e8 Fix handling of responses without body; check that really no content is sent.
13 years ago