Commit Graph

106 Commits (b482bfd1b881f0f5aee24c470a082e0ab785e505)

Author SHA1 Message Date
Glenn Strauss 69ec5728f9 use con->conf.server_tag in modules
7 years ago
Glenn Strauss 5863cb5752 defer choosing "Transfer-Encoding: chunked"
7 years ago
Glenn Strauss 4ef4baa59d http_response_backend_error()
7 years ago
Glenn Strauss 923688d2da drain backend socket/pipe bufs upon FDEVENT_HUP
7 years ago
Glenn Strauss 18a7b2be37 [core] option to stream response body to client (fixes #949, #760, #1283, #1387)
7 years ago
Glenn Strauss ddfae019cb separate routines for reading output from backends
7 years ago
Glenn Strauss f69f209e6d [core] option to stream request body to backend (fixes #376)
7 years ago
Glenn Strauss 53f550b290 [core] stream response to client (#949)
7 years ago
Glenn Strauss 5a91fd4b90 [core] buffer large responses to tempfiles (fixes #758, fixes #760, fixes #933, fixes #1387, #1283, fixes #2083)
7 years ago
Glenn Strauss c6edb24803 fix typo in new cgi.x-sendfile directives
7 years ago
Glenn Strauss 8e3c6bf754 fallback to lseek()/read() if mmap() fails (#fixes 2666)
7 years ago
Glenn Strauss 1f23ba9adf [mod_cgi] X-Sendfile feature (fixes #2313)
7 years ago
Glenn Strauss dbdab5dbc9 [core] server.error-handler new directive for error pages (fixes #2702)
7 years ago
Glenn Strauss 5492063f35 [core] set REDIRECT_STATUS to error_handler_saved_status (fixes #1828)
7 years ago
Glenn Strauss 7c0f8a775d [mod_cgi] asynchronous send of request body to CGI
7 years ago
Glenn Strauss 8f27ff8cd4 defer reading request body until handle subrequest
7 years ago
Glenn Strauss c263bc6a11 defer reading request body until handle subrequest (fixes #2541)
7 years ago
Glenn Strauss bbbbfb3de0 untangle overly complex control flow logic
7 years ago
Glenn Strauss f1681ca29b [mod_cgi] always set QUERY_STRING (fixes #1339)
7 years ago
Glenn Strauss 47f3dbebe4 use li_[iu]tostrn() instead of li_[iu]tostr()
7 years ago
Glenn Strauss f5453290b7 validate return values from strtol, strtoul (fixes #2564)
7 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073)
7 years ago
Glenn Strauss dde7bea99a [mod_cgi] kill CGI if fail to write request body
7 years ago
Glenn Strauss f2cbd0a3aa [mod_cgi] simplify mod_cgi_handle_subrequest()
7 years ago
Glenn Strauss e5e66f791f [mod_cgi] consolidate CGI cleanup code
7 years ago
Glenn Strauss 94647804cf [mod_cgi] send 500 if CGI ends and there is no response (fixes #2542)
7 years ago
Glenn Strauss f23a24a263 [mod_cgi] issue trace and exit if execve() fails (closes #2302)
7 years ago
Glenn Strauss 665cc39b95 [mod_cgi] edge case chdir "/" when docroot "/" (fixes #2460)
7 years ago
Glenn Strauss 3fd80ff8ec [mod_cgi] use MAP_PRIVATE to mmap temporary file instead of MAP_SHARED (fixes #2715)
7 years ago
Stefan Bühler c512345fa2 [config] check config option scope; warn if server option is given in conditional
7 years ago
Gaurav 5c5f67a5c7 add force_assert for many allocations and function results
8 years ago
Stefan Bühler 912533cd68 [mmap] fix mmap alignment
8 years ago
Stefan Bühler 6d6dbadb14 [mod_cgi] rewrite mmap and generic (post body) send error handling
8 years ago
Stefan Bühler 26226271de maintain cq->bytes_in in chunk API; keep bytes_out/bytes_in synced
8 years ago
Stefan Bühler 33cebeb0f7 fix segfaults in many plugins if they failed configuration
8 years ago
Stefan Bühler ad3e93ea96 Use buffer API to read and modify "used" member
8 years ago
Stefan Bühler 4365bdbebe Remove buffer_prepare_copy() and buffer_prepare_append()
8 years ago
Stefan Bühler 6afad87d2e fix buffer, chunk and http_chunk API
8 years ago
Stefan Bühler 07dd0bd0a5 add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546)
9 years ago
Stefan Bühler 6f208cfde1 fix/silence bugs reported by ccc-analyzer (clang)
9 years ago
Stefan Bühler 559b198f86 [auth] put REMOTE_USER into cgi environment, making it accessible to lua via lighty.req_env (fixes #2495)
10 years ago
Stefan Bühler 05858f6cf2 [ssl] Fix $HTTP["scheme"] conditional, could be "http" for ssl connections if the ssl $SERVER["socket"] conditional was nested (fixes #2501)
10 years ago
Cyril Brulebois 9c43331382 Use NULL instead of 0 where pointers are expected.
11 years ago
Cyril Brulebois 0c6a564543 Fix non-ANSI function declarations.
11 years ago
Stefan Bühler 5677f17442 [mod_*cgi,mod_accesslog] Fix splitting :port with ipv6 (fixes #2333, thx simoncpu)
11 years ago
Stefan Bühler 761bedd7fe [libev/cgi] fix waitpid ECHILD errors in cgi with libev (fixes #2324)
11 years ago
Stefan Bühler adc97e5ba3 [*cgi] Use physical base dir (alias, userdir) as DOCUMENT_ROOT in cgi environments (fixes #2216)
12 years ago
Stefan Bühler 33e30b486a mod_cgi: make read buffer as big as incoming data block
12 years ago
Stefan Bühler 7e5b0fe9ab Rename fdevent_event_add to _set to reflect what the function does. Fix some handlers.
13 years ago
Stefan Bühler 38f2d1ddd7 cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls
13 years ago