about summary refs log tree commit homepage
path: root/examples
DateCommit message (Collapse)
2016-08-03Revert "document Rack::Chunked/ContentLength semi-requirements" autochunk
Actually, I guess I misread, rack (starting at) 1.0 stopped requiring Content-Length/Chunked headers but I never noticed. Oh well. This reverts commit 4968041a7e1ff90b920704f50fccb9e7968d0d99.
2016-07-07update init and add systemd examples
Reduce raciness in the init script and add LSB tags. However, the systemd examples should be race-free and safer (if one feels safe using systemd :P)
2016-04-29document Rack::Chunked/ContentLength semi-requirements
Ugh, it sucks that other servers are so tolerant of violations of the Rack spec. Rainbows! had the same problem: https://bogomips.org/rainbows-public/20140704195032.GA13152@dcvr.yhbt.net/
2016-02-14doc: various doc and linkification improvements
Correctly link to subsections within the same page, and include a link to mailing list archives. Also, use "ssl_ctx" consistently as a local variable as we internally use "ctx" for other purposes.
2016-02-14doc: trim down documentation slightly
The "threads:" option for the "listen" directive is worthless. Having a dedicated thread per-process is already more than enough (and ideal) for a multi-process setup. Multiple acceptor threads is still wrong for a single-process setup (even if we did not have a GVL) as it still incurs contention with the worker pool within the kernel. So remove the documentation regarding "listen ... threads: ", for now; at least until somebody can prove it's useful and not taking up space. Additionally, "atfork_parent" may be useful for restarting background threads/connections if somebody wants to run background jobs in the master process, so stop saying it's completely useless.
2013-11-05examples: flesh out the example configs a bit
Hopefully this makes things a little easier to pick up.
2013-10-22config: implement atfork handlers
These can be used to disconnect/reconnect to databases and other external connections. These are named to match the documentation of pthread_atfork(3)
2013-10-18initial commit