Stefan Bühler
471a521f48
Improve filter handling (handle reverse out stream closing)
2009-09-29 11:45:55 +02:00
Stefan Bühler
5527654703
mod_deflate: don't flush deflate twice without data, add debug/error output
2009-09-28 22:41:06 +02:00
Stefan Bühler
0a1f01fa8c
autobuild: add mod_deflate
2009-09-28 20:57:28 +02:00
Stefan Bühler
ac028f50c7
mod_deflate: handle more responses
2009-09-28 20:57:09 +02:00
Stefan Bühler
241d0e48de
mod_deflate: Add Vary header, reset content-length header
2009-09-28 20:56:28 +02:00
Thomas Porzelt
c73bb4cd85
[waf] Add mod_deflate along with --with-zlib and --with-bzip options
2009-09-28 19:25:46 +02:00
Thomas Porzelt
50d5c7af88
[mod_deflate] Add deflate.debug option
2009-09-28 19:06:46 +02:00
Thomas Porzelt
99b28acc1e
[mod_rewrite] Undo last change
2009-09-28 19:06:31 +02:00
Thomas Porzelt
2799a9ab3e
[mod_rewrite] Change physical path too
2009-09-28 13:19:02 +02:00
Stefan Bühler
e108be188d
Fix broken patch (static file check in mod_cache_disk_etag)
2009-09-26 21:17:36 +02:00
Stefan Bühler
616904e00f
Fix filter reset, reactivate check for static file in mod_cache_disk_etag
2009-09-26 21:13:27 +02:00
Stefan Bühler
b77d9a33b2
Remove check for static action in mod_cache_disk_etag
2009-09-26 20:57:47 +02:00
Stefan Bühler
4ec620bfac
mod_deflate (only cmake support for now)
2009-09-26 20:32:58 +02:00
Stefan Bühler
1acacd5737
Prefix inline api functions with li_
2009-09-26 20:31:52 +02:00
Thomas Porzelt
418c93880d
[mod_status] Some cosmetic fixes
2009-09-16 21:48:05 +02:00
Thomas Porzelt
d1c025ba7f
[mod_status] Make connection list sortable through javascript
2009-09-16 20:55:31 +02:00
Thomas Porzelt
9032de4986
[mod_status] Hide main/runtime links and version if 'short' option is set
2009-09-16 13:38:23 +02:00
Stefan Bühler
d6ff06347d
Handle OPTIONS in vrequest by default, check method in other modules
2009-09-15 21:30:25 +02:00
Thomas Porzelt
efa2d31ada
[mod_status] Fix reporting of request size
2009-09-15 21:29:15 +02:00
Stefan Bühler
7ad0360fae
Add status "short"; to hide connection details
2009-09-15 20:17:27 +02:00
Stefan Bühler
bf9e34bab7
Remove li_vrequest_stat and fix condition.c
2009-09-15 19:08:13 +02:00
Stefan Bühler
748faf860f
Fix redirect scheme
2009-09-15 12:16:24 +02:00
Thomas Porzelt
a94fee7b76
[waf] Add new *_lua.c files
2009-09-13 21:54:38 +02:00
Stefan Bühler
659ebfdd16
Add core lua support to handle requests
2009-09-13 17:54:16 +02:00
Stefan Bühler
77f2a832e7
Fix liRequestUri struct
2009-09-13 17:45:41 +02:00
Stefan Bühler
c8d60eacd8
Fix autobuild openssl handling
2009-09-11 22:36:24 +02:00
Thomas Porzelt
4698bb9359
[mod_accesslog] Fix %v (server name) placeholder
2009-09-09 20:44:06 +02:00
Stefan Bühler
2aae4e060f
Add mod_balancer head comments
2009-09-09 19:30:13 +02:00
Stefan Bühler
f030824550
Fix server address (do not use the listen address)
2009-09-09 18:12:05 +02:00
Stefan Bühler
41d0490534
Use raw uri for orig-uri and REQUEST_URI/REDIRECT_URI in fastcgi
2009-09-09 00:56:59 +02:00
Stefan Bühler
b61013d9e0
Fix automake to build shared libraries
2009-09-09 00:12:34 +02:00
Stefan Bühler
4be784a91e
Fix mod_openssl doc
2009-09-09 00:11:52 +02:00
Thomas Porzelt
3b4014da9d
[waf] Add '--with-openssl' option and mod_openssl
2009-09-08 23:48:45 +02:00
Stefan Bühler
6e6921c552
Fix mod_redirect: handles https:// urls as absolute rewrites, redirect if request is already handled is no error
2009-09-08 22:48:31 +02:00
Stefan Bühler
2484a45c1f
Set con->is_ssl
2009-09-08 22:09:35 +02:00
Stefan Bühler
e7b7b1d82c
Add mod_openssl
2009-09-08 19:10:09 +02:00
Thomas Porzelt
d434383b66
[automake,cmake] Add mod_auth to build scripts
2009-09-05 11:41:35 +02:00
Thomas Porzelt
c82ce879bb
[modules] Add mod_auth (only basic method and plaintext files supported yet)
2009-09-02 21:13:19 +02:00
Thomas Porzelt
cce1f4276f
[mod_access] Return LI_HANDLER_GO_ON if there already is a response handler registered
2009-09-02 21:11:48 +02:00
Stefan Bühler
eeddb37e4a
Add plugin angel callbacks
2009-08-30 19:25:01 +02:00
Stefan Bühler
39ff1ea62d
Fix type in mod_cache_disk_etag
2009-08-30 14:53:43 +02:00
Thomas Porzelt
5c699f571a
[waf] Fix includes so config.h gets found
2009-08-19 13:17:18 +02:00
Thomas Porzelt
8b7ea63cf9
[waf] Reenable waf and update to 1.5.8
2009-08-18 22:57:23 +02:00
Thomas Porzelt
96123d01cf
[mod_status] Add refresh=X querystring parameter to control auto-refreshing of page
2009-08-13 20:08:37 +02:00
Thomas Porzelt
9ab83c0a1f
[mod_status] Merge status.show and status.show_runtime into status.info
2009-08-13 19:52:23 +02:00
Thomas Porzelt
f0d5c9e789
[mod_status] Add status.show_runtime action
2009-08-09 18:04:53 +02:00
Thomas Porzelt
6cb5af487f
[core] Add li-prefix to structs, enums and function names for encoding helpers
2009-08-03 20:33:17 +02:00
Stefan Bühler
e438240ed5
automake: fix make dist and module "lib" prefix
2009-08-02 12:02:36 +02:00
Stefan Bühler
7b1b492bcb
automake: mod_rrd doesn't exist yet
2009-07-31 20:40:01 +02:00
Stefan Bühler
df96167362
Add automake
2009-07-31 20:36:37 +02:00
Thomas Porzelt
c83817721c
[mod_rewrite] Fix broken %{request.scheme}
2009-07-26 18:15:45 +02:00
Thomas Porzelt
adf9e2b056
[mod_redirect] Fix scheme
2009-07-26 18:15:02 +02:00
Thomas Porzelt
82ea7279df
[modules] Add mod_redirect
2009-07-23 14:42:50 +02:00
Thomas Porzelt
048c66938c
[mod_rewrite] Implement rewrite action without regex
2009-07-23 12:27:56 +02:00
Thomas Porzelt
4980987578
[mod_accesslog] Remove superflous '+' in timestamp format string
2009-07-17 21:25:56 +02:00
Thomas Porzelt
e838c9b3cf
[core] Add liTimeFunc (gmtime_r, localtime_r) parameter to li_worker_current_timestamp()
2009-07-17 13:04:01 +02:00
Thomas Porzelt
68b32499f9
[mod_vhost] Fix use of uninitialized variable in vhost.map_regex action
2009-07-16 22:57:06 +02:00
Stefan Bühler
a061745193
Fix bugs found with the static clang analyzer ( http://clang-analyzer.llvm.org/ )
2009-07-16 22:13:40 +02:00
Thomas Porzelt
8a9ddd4d7e
[mod_vhost] Fix cleanup function of vhost.map_regex action
2009-07-16 19:54:36 +02:00
Thomas Porzelt
ec444e95fe
[mod_vhost] Make vhost.map_regex (reordering of lists) threadsafe; remove left over todo comments
2009-07-16 19:31:22 +02:00
Thomas Porzelt
45d91e48e4
[mod_vhost] Implement vhost.map_regex action
2009-07-16 18:47:42 +02:00
Thomas Porzelt
a3a1e2172e
[mod_rewrite] Fix tiny memleak (GError not freed when regex compilation fails)
2009-07-16 18:46:07 +02:00
Thomas Porzelt
952a28d176
Fix a null-pointer dereference and some other small things reported by clang analyzer
2009-07-16 12:57:11 +02:00
Thomas Porzelt
04be82496a
[mod_vhost] Use stat cache
2009-07-12 22:26:46 +02:00
Stefan Bühler
282a2d1b4a
Prefix LI_API functions with "li_"
2009-07-09 22:17:24 +02:00
Stefan Bühler
99b203e3d8
Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames
2009-07-08 21:06:07 +02:00
Stefan Bühler
4128f3f128
Use GPtrArray in mod_fortune
2009-07-07 22:26:04 +02:00
Stefan Bühler
d30108b967
Make radix implementation independent of lighty
2009-07-07 18:45:47 +02:00
Thomas Porzelt
c8f7ee1a3f
[mod_accesslog] Log hyphen instead of ""
2009-07-05 18:59:41 +02:00
Thomas Porzelt
c0858a017c
[mod_expire] Move multiplcation of factor from expire() to expire_create()
2009-07-04 22:25:05 +02:00
Thomas Porzelt
98276a9b6f
[mod_expire] Log errno in case gmtime_r() should fail
2009-07-04 22:06:48 +02:00
Thomas Porzelt
c49219699e
[modules] Remove unneeded inclusion of stdio.h
2009-07-04 21:56:32 +02:00
Thomas Porzelt
40b4993b2d
[mod_expire] Clean up code a bit; append max-age to Cache-Control instead of overwriting
2009-07-04 21:55:32 +02:00
Thomas Porzelt
8ae3462a68
[mod_expire] Fix wrong max-age with 'modification'
2009-07-04 21:04:27 +02:00
Thomas Porzelt
2cffeb7401
[modules] Add mod_expire
2009-07-04 20:08:14 +02:00
Thomas Porzelt
7aa2e0ef14
Remove test debug output from mod_dirlist
2009-07-04 15:50:56 +02:00
Stefan Bühler
c2ce9c4f53
Fix encoding functions (use _append for the append version); do not encode characters >= 0x80 for html.
2009-06-08 12:43:33 +02:00
Thomas Porzelt
426ee0bff0
[modules] Add mod_rewrite
2009-06-05 19:29:28 +02:00
Thomas Porzelt
a2b40bb581
[mod_access] Fix casting warnings
2009-05-31 14:10:41 +02:00
Thomas Porzelt
1703b67409
[modules] Add mod_access
2009-05-29 15:05:31 +02:00
Stefan Bühler
dfb1db14d7
Use pointer-sign warning in cmake und fix many of them.
2009-04-17 21:53:17 +02:00
Thomas Porzelt
383fa6a4f5
- introduce throttling via pools, rework throttling by connection
...
- new actions: 'throttle_pool', 'throttle_connection' and 'status'
- don't start waitqueue timer in waitqueue_init(); start/stop timer on demand
- new parameter for network_write(): write_max
- move stats and timeout handling from network_write/read() to connection_cb()
2009-04-16 17:02:53 +02:00
Stefan Bühler
595ce1fe13
Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con
2009-04-15 12:34:06 +02:00
Thomas Porzelt
f07f4d4971
[mod_vhost] Fix vhost.pattern again (build physical.path)
2009-04-07 03:55:31 +02:00
Thomas Porzelt
d1df9e2274
[mod_vhost] Fix vhost.pattern action
2009-04-07 03:15:47 +02:00
Stefan Bühler
194db07279
Use GByteArray in mod_fastcgi
2009-04-03 14:36:41 +02:00
Stefan Bühler
611d7dcac3
Recode the sockaddr handling, fixing some bugs
2009-04-03 14:29:55 +02:00
Stefan Bühler
6a56aba0c3
Use 2^n-1 in GSring pre-allocations (so glib doesn't alloc 2^(n+1) for 2^n)
2009-04-02 23:19:19 +02:00
Stefan Bühler
02c8be5afd
Use prepared string for the local/remote socket address in mod_fastcgi
2009-04-02 22:59:43 +02:00
Thomas Porzelt
f44f620eda
[modules] add mod_debug
2009-04-01 02:04:23 +02:00
Thomas Porzelt
9f8413c112
[mod_status] add more info to connection list
2009-03-26 23:39:23 +01:00
Thomas Porzelt
ddb0448a96
rework stat_cache
2009-03-26 23:05:17 +01:00
Thomas Porzelt
0e03d1a362
[mod_dirlist] fix new leaks
2009-03-17 20:28:26 +01:00
Stefan Bühler
a62cdebb91
Fix static file/dirlist handling and add etag support
2009-03-17 14:21:20 +01:00
Stefan Bühler
325ec6a5b6
Add content-length in mod-cache-disk-etag
2009-03-17 14:21:06 +01:00
Stefan Bühler
6a92322143
Reduce printf usage in mod_dirlist
2009-03-16 22:27:04 +01:00
Stefan Bühler
669ff2e079
Fix mod-status collect handling
2009-03-16 17:53:11 +01:00
Stefan Bühler
171ab51db5
Fix segfault in mod_cache_disk_etag if no etag is present
2009-03-16 17:51:52 +01:00
Thomas Porzelt
3629e1aebf
[mod_status] add scoreboard
2009-03-14 01:58:24 +01:00
Thomas Porzelt
a9c75934a8
change counter format output
2009-03-13 23:16:21 +01:00
Stefan Bühler
bedcc3d46a
Added mod_cache_disk_etag: caches produced content on disk and checks for it via etag.
2009-03-12 21:08:27 +01:00
Stefan Bühler
12b421b9a9
Don't block fastcgi if limit on input queue is hit
2009-03-11 21:16:30 +01:00
Thomas Porzelt
3137f19ce5
[mod_dirlist] add hide-directories, exclude-prefix and exclude-suffix parameter
2009-03-08 16:47:27 +01:00
Thomas Porzelt
7bd421e79e
fix comment in mod_dirlist
2009-03-07 00:28:48 +01:00
Stefan Bühler
6e747478d4
Fix ISO C90 decl/code mixing
2009-03-07 00:08:49 +01:00
Thomas Porzelt
0c01dd91d3
add debug parameter for dirlist action in mod_dirlist
2009-03-06 19:26:47 +01:00
Thomas Porzelt
a874e682c7
fix mem leak in mod_dirlist
2009-03-06 18:55:00 +01:00
Thomas Porzelt
30ff4619fa
forgot mod_dirlist.c
2009-03-06 18:18:13 +01:00
Stefan Bühler
d8d8c8ea1b
Disable cqlimit debug, fixed some more bugs with cqlimit.
2009-03-02 01:02:21 +01:00
Stefan Bühler
98a36e970a
Change mod_fastcgi to not wait for complete packets (enables limits < 64kbyte); fix some limit handling.
2009-03-02 00:49:02 +01:00
Stefan Bühler
2f9e612c99
Use chunkqueue-limit (setup in plugin_core)
2009-03-01 21:23:24 +01:00
Stefan Bühler
b033f0c194
Extended sockaddr_to_string for use in connect-failed error message in mod_fastcgi
2009-03-01 17:15:52 +01:00
Stefan Bühler
050d0d60d6
Fix cast warning (char* -> unsigned char*) in mod_fastcgi
2009-03-01 15:54:19 +01:00
Stefan Bühler
c584da22db
Handle environment vars in mod_fastcgi
2009-02-15 18:59:30 +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
bc92b6fdcc
add vhost.map action to mod_vhost
2009-01-25 02:40:28 +01:00
Thomas Porzelt
13f749aa74
along comes mod_vhost
2009-01-12 01:20:06 +01:00
Thomas Porzelt
1cb3075ed6
fix bogus action context cleanup in mod_status
2009-01-11 04:13:49 +01:00
Stefan Bühler
3477543277
Fix fastcgi packet reading
2009-01-10 15:50:04 +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
00869413ee
Fix sending endless "FCGI_STDIN" closed events
2009-01-09 21:21:18 +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
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
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
3d058707b1
add mod_accesslog
2009-01-06 22:31:20 +01:00
Stefan Bühler
d9ddd4fd3d
Remove out-of-fd-handling.
2009-01-04 23:14:08 +01:00
Stefan Bühler
54fd1b08e4
Cleanup some state machine handling
2009-01-04 21:59:56 +01:00
Stefan Bühler
c458377d4a
Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes)
2009-01-01 16:44:42 +01:00
Stefan Bühler
d30e1b018a
Added some backend/balancer helper, fixed backend-error handling.
2008-12-31 14:36:24 +01:00
Stefan Bühler
6636919623
Completed core balancer support, added a simple test balancer.
2008-12-31 02:57:27 +01:00
Stefan Bühler
025f0b5f84
Removed HANDLER_FINISHED, implemented real job queue and added some basic balancer structs
2008-12-30 21:55:00 +01:00
Stefan Bühler
20dfff0663
Cleanup log macros (moved from con to vrequest)
2008-12-30 14:24:33 +01:00
Thomas Porzelt
3ffa1c40bb
fix mod_status handling of error case
2008-12-10 21:14:50 +01:00
Thomas Porzelt
52c3c2e042
update mod_fortune and mod_status for new action context
2008-12-10 17:33:36 +01:00
Stefan Bühler
463d1c6435
Fix modules and waf for new include dir
2008-11-16 22:16:52 +01:00
Stefan Bühler
3dceeb5916
Move include files into a separate directory and cleanup include order
2008-11-16 21:33:53 +01:00
Thomas Porzelt
358b9f95f1
implement throttling, change some time_t to ev_tstamp
2008-11-12 22:16:52 +01:00
Thomas Porzelt
67f89abffc
add mod_status
2008-11-03 15:19:23 +01:00
Thomas Porzelt
bdce397e70
get rid of global vars in mod_fortune
2008-10-27 20:12:52 +01:00
Thomas Porzelt
9b2773750e
update mod_fortune for virtual request code, readd to wscript
2008-10-26 13:33:02 +01:00
Thomas Porzelt
d7bfbde1fc
removeleft over testing code from mod_fortune
2008-10-23 18:23:13 +02:00
Thomas Porzelt
616180e9ac
add mod_fortune
2008-10-22 17:11:32 +02:00