2
0
Fork 0
Commit Graph

409 Commits

Author SHA1 Message Date
Stefan Bühler c584da22db Handle environment vars in mod_fastcgi 2009-02-15 18:59:30 +01:00
Stefan Bühler 95fee3059b Add handling for environment vars in backends 2009-02-15 18:55:27 +01:00
Thomas Porzelt 1ebe6dc37d fix small mistake in mod_vhost.c example config comment 2009-02-14 22:52:32 +01:00
Thomas Porzelt cb4741c56d fix little typo in mod_fastcgi.c comment 2009-02-12 23:03:52 +01:00
Thomas Porzelt 9b785c567a add vhost.pattern (1.x evhost like functionality) to mod_vhost 2009-02-11 23:38:45 +01:00
Stefan Bühler 5c797977c6 Add stderr log support in mod_fastcgi (split lines from backend in log.c) 2009-02-03 15:25:14 +01:00
Thomas Porzelt 159a03f19b fix typo in mod_vhost 2009-01-29 17:38:02 +01:00
Thomas Porzelt 79d9c63087 redirect requests for directories without trailing slash to uri with trailing slash 2009-01-29 17:36:30 +01:00
Thomas Porzelt d24e602713 increase default io timeout from 30s to 300s 2009-01-29 15:19:41 +01:00
Stefan Bühler 0eef3d7ee8 Use nonblocking sockets 2009-01-29 15:14:55 +01:00
Stefan Bühler d29565a211 Split chunkiter_read into simple read() and mmap() with fallback read(); _mmap() may result in SIGBUS (e.g. truncated file) later. 2009-01-28 15:40:57 +01:00
Thomas Porzelt bc92b6fdcc add vhost.map action to mod_vhost 2009-01-25 02:40:28 +01:00
Stefan Bühler c7c1c5cb0e [cmake] Add mod_vhost 2009-01-13 21:32:13 +01:00
Stefan Bühler 2708d6deaa Fix handling request content and 100-continue 2009-01-13 21:31:02 +01:00
Stefan Bühler a91d5e96b9 Allow more characters in url 2009-01-13 13:48:03 +01:00
Thomas Porzelt 13f749aa74 along comes mod_vhost 2009-01-12 01:20:06 +01:00
Thomas Porzelt f0c66a793c revert previous commit. it was stupid. 2009-01-12 01:02:39 +01:00
Thomas Porzelt 9186488bbf fix docroot action (don't set physical.path) 2009-01-12 00:24:27 +01:00
Thomas Porzelt 1cb3075ed6 fix bogus action context cleanup in mod_status 2009-01-11 04:13:49 +01:00
Stefan Bühler f983caccde Fix reading of lua tables 2009-01-10 15:59:54 +01:00
Stefan Bühler 3477543277 Fix fastcgi packet reading 2009-01-10 15:50:04 +01:00
Stefan Bühler 428b4b524f Fix unix socket path 2009-01-10 15:22:35 +01:00
Stefan Bühler 1e115c522d Add unix sockets 2009-01-10 15:09:42 +01:00
Stefan Bühler 4a8ce0a63f Redo boolean conditionals (physical.*) as real actions. 2009-01-10 14:46:11 +01:00
Stefan Bühler 587ee27cd0 Added response parser and used it in mod_fastcgi 2009-01-10 13:30:58 +01:00
Stefan Bühler 99f14078ec Add reminder for chunked handling/content-length header. 2009-01-09 21:45:19 +01:00
Stefan Bühler 4a5aa5361e Added/fixed chunked encoded transfer 2009-01-09 21:42:42 +01:00
Thomas Porzelt 70a495de6f fix ev_tstamp vs. time_t problems in worker_current_timestamp() 2009-01-09 21:32:49 +01:00
Stefan Bühler 00869413ee Fix sending endless "FCGI_STDIN" closed events 2009-01-09 21:21:18 +01:00
Stefan Bühler 31acd354a7 [cmake] Add mod_accesslog 2009-01-09 21:17:45 +01:00
Thomas Porzelt 7766bd8c34 save errno of stat() in request.physical struct to prevent repeated stat()s if failed 2009-01-08 00:26:30 +01:00
Thomas Porzelt 688c2b6204 add %t format specifier to mod_accesslog (no %{format}t support yet) 2009-01-07 23:37:15 +01:00
Thomas Porzelt 549f097ea1 fix worker_current_timestamp() caching 2009-01-07 23:36:17 +01:00
Thomas Porzelt fe90de88be implement %b (bytes response), %B (bytes response clf) and %X (connection status) in mod_accesslog 2009-01-07 21:50:07 +01:00
Thomas Porzelt 6f69d58fec forgot g_array_set_size() after g_array_sized_new()... duh! 2009-01-07 21:26:55 +01:00
Thomas Porzelt 52bcd62d74 fix small leaks 2009-01-07 21:11:06 +01:00
Thomas Porzelt 93bd5e2a6a add additional paramter format_ndx to worker_current_timestamp() 2009-01-07 20:59:51 +01:00
Thomas Porzelt c6d422e5c1 add log.write function action to core plugin 2009-01-07 00:01:20 +01:00
Thomas Porzelt eb794b1dbc fix %v placeholder in mod_accesslog 2009-01-06 23:44:39 +01:00
Thomas Porzelt 4c49705c16 add missing http version to %r placeholder in mod_accesslog 2009-01-06 23:25:15 +01:00
Thomas Porzelt 2fb007bd3d add http_version_string() to utils 2009-01-06 23:25:07 +01:00
Thomas Porzelt 3d058707b1 add mod_accesslog 2009-01-06 22:31:20 +01:00
Thomas Porzelt d2cadb3b1e add option server.name 2009-01-06 22:30:38 +01:00
Thomas Porzelt 85a3a4d091 added "if" to condition syntax (if req.path == "/foo" {})
added boolean conditions without operator or rvalue (if phys.is_dir {}, rvalue is always true)
added negated boolean conditions (if !phys.is_dir {}, rvalue is always false)
added physical.is_dir and .is_file conditionals
2009-01-06 01:33:20 +01:00
Thomas Porzelt 01068d7f1d make docroot a function action instead of setting, add stat member to vr.physical and enable physical.size conditional 2009-01-05 22:24:54 +01:00
Thomas Porzelt 2489fbfbfe fix small typo in config_parser.rl that prevented usaged of physical.* conditionals 2009-01-05 22:14:47 +01:00
Stefan Bühler d9ddd4fd3d Remove out-of-fd-handling. 2009-01-04 23:14:08 +01:00
Stefan Bühler 5feea39ae6 Remove '-Wmissing-prototypes' from extra warnings list
- we still have '-Wmissing-declarations', which allows
   void func() instead of void func(void).
2009-01-04 22:38:24 +01:00
Stefan Bühler 54fd1b08e4 Cleanup some state machine handling 2009-01-04 21:59:56 +01:00
Thomas Porzelt 825b809b06 fix compile flags for modules in wscript 2009-01-02 22:07:52 +01:00