Thomas Porzelt
2e8051707b
[mod_status] Fix possible double collect_start()
14 years ago
Thomas Porzelt
4e28109716
[mod_status] Fix runtime info page
14 years ago
Stefan Bühler
0fe57dc215
mod_auth: add htdigest and htpasswd (no apr-md5) backend
14 years ago
Thomas Porzelt
419414df8c
[mod_vhost] Fix m notation in vhost.pattern
14 years ago
Thomas Porzelt
97d3b9e82f
[mod_status] Add format=plain querystring parameter
14 years ago
Stefan Bühler
a151eeac2f
Prefix li_ cleanup, verified with nm -g --defined-only
14 years ago
Stefan Bühler
e71b64f41f
Add a li_const_gstring method to create fake GStrings; make some GString* parameters const
14 years ago
Thomas Porzelt
ebde532776
[mod_status] Fix mixed up numbers introduced in previous commit
14 years ago
Thomas Porzelt
3e88dd951d
[mod_status] Make connection state sums prettier
14 years ago
Stefan Bühler
10e6f0f1a7
mod_status: announce utf-8 encoding
14 years ago
Stefan Bühler
e4e16c7da9
mod_status: fix rlimit handling
14 years ago
Stefan Bühler
13904f9aa8
Fix mod_accesslog vr_close handling
14 years ago
Stefan Bühler
90447c6cec
Some fixes for HEAD and 206 Partial Content handling
14 years ago
Thomas Porzelt
4540232e78
[mod_status] Print connection state totals instead of scoreboard
14 years ago
Stefan Bühler
7568b9c937
mod_fastcgi: add socket address to all log outputs
14 years ago
Thomas Porzelt
70e1bd247d
[mod_status] Add info about fd and coresize limits to runtime page
14 years ago
Thomas Porzelt
08de1fe4c9
[mod_accesslog] Fix wrong value used with %b and %B if filter active
14 years ago
Thomas Porzelt
10ec6c3d0a
[mod_accesslog] Fix wrong call to log_free() instead of log_unref(); set default log format
14 years ago
Stefan Bühler
1d6a2b3d6f
Fix mod_vhost memleak
14 years ago
Thomas Porzelt
a66ea4b5cf
[mod_auth] Fix small memleak
14 years ago
Thomas Porzelt
eedf1234a0
[mod_status] Fix invalid read of free()d memory
14 years ago
Stefan Bühler
611b8fc303
Trigger accesslog on vrequest close instead of connection close
14 years ago
Stefan Bühler
ca65cf92a9
Move mod_status debug output in debug.log_request_handling
14 years ago
Stefan Bühler
3949cb0939
Show fastcgi socket in backend log, don't show source file/line for backend logs
14 years ago
Stefan Bühler
7e7635200d
Use openssl lock callbacks
14 years ago
Stefan Bühler
2806a1d90b
Add filedescriptor in ssl errors
14 years ago
Stefan Bühler
aadbf51c84
Fix two more leaks, add some safe = NULL inits, free ssl error strings
14 years ago
Stefan Bühler
05bc7981a6
Fix mod_openssl memleak (and perhaps double-free/memory corruption)
14 years ago
Thomas Porzelt
0e1a61da7e
[mod_expire] Allow multiple time units (like 1 month 5 days)
14 years ago
Stefan Bühler
d36d3cad54
mod_deflate: handle bzip BZ_FINISH_OK response code
14 years ago
Stefan Bühler
95e8368099
Fix mod_status handle_direct/WAIT_FOR_EVENT bug
14 years ago
Stefan Bühler
987b28520d
mod_deflate: add 304 not modified handling, handle HEAD requests
14 years ago
Stefan Bühler
4aa63aaafb
mod_cache_disk_etag: use async stat
14 years ago
Stefan Bühler
471a521f48
Improve filter handling (handle reverse out stream closing)
14 years ago
Stefan Bühler
5527654703
mod_deflate: don't flush deflate twice without data, add debug/error output
14 years ago
Stefan Bühler
0a1f01fa8c
autobuild: add mod_deflate
14 years ago
Stefan Bühler
ac028f50c7
mod_deflate: handle more responses
14 years ago
Stefan Bühler
241d0e48de
mod_deflate: Add Vary header, reset content-length header
14 years ago
Thomas Porzelt
c73bb4cd85
[waf] Add mod_deflate along with --with-zlib and --with-bzip options
14 years ago
Thomas Porzelt
50d5c7af88
[mod_deflate] Add deflate.debug option
14 years ago
Thomas Porzelt
99b28acc1e
[mod_rewrite] Undo last change
14 years ago
Thomas Porzelt
2799a9ab3e
[mod_rewrite] Change physical path too
14 years ago
Stefan Bühler
e108be188d
Fix broken patch (static file check in mod_cache_disk_etag)
14 years ago
Stefan Bühler
616904e00f
Fix filter reset, reactivate check for static file in mod_cache_disk_etag
14 years ago
Stefan Bühler
b77d9a33b2
Remove check for static action in mod_cache_disk_etag
14 years ago
Stefan Bühler
4ec620bfac
mod_deflate (only cmake support for now)
14 years ago
Stefan Bühler
1acacd5737
Prefix inline api functions with li_
14 years ago
Thomas Porzelt
418c93880d
[mod_status] Some cosmetic fixes
14 years ago
Thomas Porzelt
d1c025ba7f
[mod_status] Make connection list sortable through javascript
14 years ago
Thomas Porzelt
9032de4986
[mod_status] Hide main/runtime links and version if 'short' option is set
14 years ago
Stefan Bühler
d6ff06347d
Handle OPTIONS in vrequest by default, check method in other modules
14 years ago
Thomas Porzelt
efa2d31ada
[mod_status] Fix reporting of request size
14 years ago
Stefan Bühler
7ad0360fae
Add status "short"; to hide connection details
14 years ago
Stefan Bühler
bf9e34bab7
Remove li_vrequest_stat and fix condition.c
14 years ago
Stefan Bühler
748faf860f
Fix redirect scheme
14 years ago
Thomas Porzelt
a94fee7b76
[waf] Add new *_lua.c files
14 years ago
Stefan Bühler
659ebfdd16
Add core lua support to handle requests
14 years ago
Stefan Bühler
77f2a832e7
Fix liRequestUri struct
14 years ago
Stefan Bühler
c8d60eacd8
Fix autobuild openssl handling
14 years ago
Thomas Porzelt
4698bb9359
[mod_accesslog] Fix %v (server name) placeholder
14 years ago
Stefan Bühler
2aae4e060f
Add mod_balancer head comments
14 years ago
Stefan Bühler
f030824550
Fix server address (do not use the listen address)
14 years ago
Stefan Bühler
41d0490534
Use raw uri for orig-uri and REQUEST_URI/REDIRECT_URI in fastcgi
14 years ago
Stefan Bühler
b61013d9e0
Fix automake to build shared libraries
14 years ago
Stefan Bühler
4be784a91e
Fix mod_openssl doc
14 years ago
Thomas Porzelt
3b4014da9d
[waf] Add '--with-openssl' option and mod_openssl
14 years ago
Stefan Bühler
6e6921c552
Fix mod_redirect: handles https:// urls as absolute rewrites, redirect if request is already handled is no error
14 years ago
Stefan Bühler
2484a45c1f
Set con->is_ssl
14 years ago
Stefan Bühler
e7b7b1d82c
Add mod_openssl
14 years ago
Thomas Porzelt
d434383b66
[automake,cmake] Add mod_auth to build scripts
14 years ago
Thomas Porzelt
c82ce879bb
[modules] Add mod_auth (only basic method and plaintext files supported yet)
14 years ago
Thomas Porzelt
cce1f4276f
[mod_access] Return LI_HANDLER_GO_ON if there already is a response handler registered
14 years ago
Stefan Bühler
eeddb37e4a
Add plugin angel callbacks
14 years ago
Stefan Bühler
39ff1ea62d
Fix type in mod_cache_disk_etag
14 years ago
Thomas Porzelt
5c699f571a
[waf] Fix includes so config.h gets found
14 years ago
Thomas Porzelt
8b7ea63cf9
[waf] Reenable waf and update to 1.5.8
14 years ago
Thomas Porzelt
96123d01cf
[mod_status] Add refresh=X querystring parameter to control auto-refreshing of page
14 years ago
Thomas Porzelt
9ab83c0a1f
[mod_status] Merge status.show and status.show_runtime into status.info
14 years ago
Thomas Porzelt
f0d5c9e789
[mod_status] Add status.show_runtime action
14 years ago
Thomas Porzelt
6cb5af487f
[core] Add li-prefix to structs, enums and function names for encoding helpers
14 years ago
Stefan Bühler
e438240ed5
automake: fix make dist and module "lib" prefix
14 years ago
Stefan Bühler
7b1b492bcb
automake: mod_rrd doesn't exist yet
14 years ago
Stefan Bühler
df96167362
Add automake
14 years ago
Thomas Porzelt
c83817721c
[mod_rewrite] Fix broken %{request.scheme}
14 years ago
Thomas Porzelt
adf9e2b056
[mod_redirect] Fix scheme
14 years ago
Thomas Porzelt
82ea7279df
[modules] Add mod_redirect
14 years ago
Thomas Porzelt
048c66938c
[mod_rewrite] Implement rewrite action without regex
14 years ago
Thomas Porzelt
4980987578
[mod_accesslog] Remove superflous '+' in timestamp format string
14 years ago
Thomas Porzelt
e838c9b3cf
[core] Add liTimeFunc (gmtime_r, localtime_r) parameter to li_worker_current_timestamp()
14 years ago
Thomas Porzelt
68b32499f9
[mod_vhost] Fix use of uninitialized variable in vhost.map_regex action
14 years ago
Stefan Bühler
a061745193
Fix bugs found with the static clang analyzer ( http://clang-analyzer.llvm.org/ )
14 years ago
Thomas Porzelt
8a9ddd4d7e
[mod_vhost] Fix cleanup function of vhost.map_regex action
14 years ago
Thomas Porzelt
ec444e95fe
[mod_vhost] Make vhost.map_regex (reordering of lists) threadsafe; remove left over todo comments
14 years ago
Thomas Porzelt
45d91e48e4
[mod_vhost] Implement vhost.map_regex action
14 years ago
Thomas Porzelt
a3a1e2172e
[mod_rewrite] Fix tiny memleak (GError not freed when regex compilation fails)
14 years ago
Thomas Porzelt
952a28d176
Fix a null-pointer dereference and some other small things reported by clang analyzer
14 years ago
Thomas Porzelt
04be82496a
[mod_vhost] Use stat cache
14 years ago
Stefan Bühler
282a2d1b4a
Prefix LI_API functions with "li_"
14 years ago
Stefan Bühler
99b203e3d8
Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames
14 years ago
Stefan Bühler
4128f3f128
Use GPtrArray in mod_fortune
14 years ago
Stefan Bühler
d30108b967
Make radix implementation independent of lighty
14 years ago
Thomas Porzelt
c8f7ee1a3f
[mod_accesslog] Log hyphen instead of ""
14 years ago
Thomas Porzelt
c0858a017c
[mod_expire] Move multiplcation of factor from expire() to expire_create()
14 years ago
Thomas Porzelt
98276a9b6f
[mod_expire] Log errno in case gmtime_r() should fail
14 years ago
Thomas Porzelt
c49219699e
[modules] Remove unneeded inclusion of stdio.h
14 years ago
Thomas Porzelt
40b4993b2d
[mod_expire] Clean up code a bit; append max-age to Cache-Control instead of overwriting
14 years ago
Thomas Porzelt
8ae3462a68
[mod_expire] Fix wrong max-age with 'modification'
14 years ago
Thomas Porzelt
2cffeb7401
[modules] Add mod_expire
14 years ago
Thomas Porzelt
7aa2e0ef14
Remove test debug output from mod_dirlist
14 years ago
Stefan Bühler
c2ce9c4f53
Fix encoding functions (use _append for the append version); do not encode characters >= 0x80 for html.
14 years ago
Thomas Porzelt
426ee0bff0
[modules] Add mod_rewrite
14 years ago
Thomas Porzelt
a2b40bb581
[mod_access] Fix casting warnings
14 years ago
Thomas Porzelt
1703b67409
[modules] Add mod_access
14 years ago
Stefan Bühler
dfb1db14d7
Use pointer-sign warning in cmake und fix many of them.
14 years ago
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()
14 years ago
Stefan Bühler
595ce1fe13
Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con
14 years ago
Thomas Porzelt
f07f4d4971
[mod_vhost] Fix vhost.pattern again (build physical.path)
14 years ago
Thomas Porzelt
d1df9e2274
[mod_vhost] Fix vhost.pattern action
14 years ago
Stefan Bühler
194db07279
Use GByteArray in mod_fastcgi
14 years ago
Stefan Bühler
611d7dcac3
Recode the sockaddr handling, fixing some bugs
14 years ago
Stefan Bühler
6a56aba0c3
Use 2^n-1 in GSring pre-allocations (so glib doesn't alloc 2^(n+1) for 2^n)
14 years ago
Stefan Bühler
02c8be5afd
Use prepared string for the local/remote socket address in mod_fastcgi
14 years ago
Thomas Porzelt
f44f620eda
[modules] add mod_debug
14 years ago
Thomas Porzelt
9f8413c112
[mod_status] add more info to connection list
14 years ago
Thomas Porzelt
ddb0448a96
rework stat_cache
14 years ago
Thomas Porzelt
0e03d1a362
[mod_dirlist] fix new leaks
14 years ago
Stefan Bühler
a62cdebb91
Fix static file/dirlist handling and add etag support
14 years ago
Stefan Bühler
325ec6a5b6
Add content-length in mod-cache-disk-etag
14 years ago
Stefan Bühler
6a92322143
Reduce printf usage in mod_dirlist
14 years ago
Stefan Bühler
669ff2e079
Fix mod-status collect handling
14 years ago
Stefan Bühler
171ab51db5
Fix segfault in mod_cache_disk_etag if no etag is present
14 years ago
Thomas Porzelt
3629e1aebf
[mod_status] add scoreboard
14 years ago
Thomas Porzelt
a9c75934a8
change counter format output
14 years ago
Stefan Bühler
bedcc3d46a
Added mod_cache_disk_etag: caches produced content on disk and checks for it via etag.
14 years ago
Stefan Bühler
12b421b9a9
Don't block fastcgi if limit on input queue is hit
14 years ago
Thomas Porzelt
3137f19ce5
[mod_dirlist] add hide-directories, exclude-prefix and exclude-suffix parameter
14 years ago
Thomas Porzelt
7bd421e79e
fix comment in mod_dirlist
14 years ago
Stefan Bühler
6e747478d4
Fix ISO C90 decl/code mixing
14 years ago
Thomas Porzelt
0c01dd91d3
add debug parameter for dirlist action in mod_dirlist
14 years ago
Thomas Porzelt
a874e682c7
fix mem leak in mod_dirlist
14 years ago
Thomas Porzelt
30ff4619fa
forgot mod_dirlist.c
14 years ago
Stefan Bühler
d8d8c8ea1b
Disable cqlimit debug, fixed some more bugs with cqlimit.
14 years ago
Stefan Bühler
98a36e970a
Change mod_fastcgi to not wait for complete packets (enables limits < 64kbyte); fix some limit handling.
14 years ago
Stefan Bühler
2f9e612c99
Use chunkqueue-limit (setup in plugin_core)
14 years ago
Stefan Bühler
b033f0c194
Extended sockaddr_to_string for use in connect-failed error message in mod_fastcgi
14 years ago
Stefan Bühler
050d0d60d6
Fix cast warning (char* -> unsigned char*) in mod_fastcgi
14 years ago
Stefan Bühler
c584da22db
Handle environment vars in mod_fastcgi
14 years ago
Thomas Porzelt
1ebe6dc37d
fix small mistake in mod_vhost.c example config comment
14 years ago
Thomas Porzelt
cb4741c56d
fix little typo in mod_fastcgi.c comment
14 years ago
Thomas Porzelt
9b785c567a
add vhost.pattern (1.x evhost like functionality) to mod_vhost
14 years ago
Stefan Bühler
5c797977c6
Add stderr log support in mod_fastcgi (split lines from backend in log.c)
15 years ago
Thomas Porzelt
159a03f19b
fix typo in mod_vhost
15 years ago
Thomas Porzelt
bc92b6fdcc
add vhost.map action to mod_vhost
15 years ago
Thomas Porzelt
13f749aa74
along comes mod_vhost
15 years ago
Thomas Porzelt
1cb3075ed6
fix bogus action context cleanup in mod_status
15 years ago
Stefan Bühler
3477543277
Fix fastcgi packet reading
15 years ago
Stefan Bühler
587ee27cd0
Added response parser and used it in mod_fastcgi
15 years ago
Stefan Bühler
00869413ee
Fix sending endless "FCGI_STDIN" closed events
15 years ago
Thomas Porzelt
688c2b6204
add %t format specifier to mod_accesslog (no %{format}t support yet)
15 years ago
Thomas Porzelt
fe90de88be
implement %b (bytes response), %B (bytes response clf) and %X (connection status) in mod_accesslog
15 years ago
Thomas Porzelt
eb794b1dbc
fix %v placeholder in mod_accesslog
15 years ago
Thomas Porzelt
4c49705c16
add missing http version to %r placeholder in mod_accesslog
15 years ago
Thomas Porzelt
3d058707b1
add mod_accesslog
15 years ago
Stefan Bühler
d9ddd4fd3d
Remove out-of-fd-handling.
15 years ago
Stefan Bühler
54fd1b08e4
Cleanup some state machine handling
15 years ago
Stefan Bühler
c458377d4a
Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes)
15 years ago
Stefan Bühler
d30e1b018a
Added some backend/balancer helper, fixed backend-error handling.
15 years ago
Stefan Bühler
6636919623
Completed core balancer support, added a simple test balancer.
15 years ago
Stefan Bühler
025f0b5f84
Removed HANDLER_FINISHED, implemented real job queue and added some basic balancer structs
15 years ago
Stefan Bühler
20dfff0663
Cleanup log macros (moved from con to vrequest)
15 years ago
Thomas Porzelt
3ffa1c40bb
fix mod_status handling of error case
15 years ago
Thomas Porzelt
52c3c2e042
update mod_fortune and mod_status for new action context
15 years ago
Stefan Bühler
463d1c6435
Fix modules and waf for new include dir
15 years ago
Stefan Bühler
3dceeb5916
Move include files into a separate directory and cleanup include order
15 years ago
Thomas Porzelt
358b9f95f1
implement throttling, change some time_t to ev_tstamp
15 years ago
Thomas Porzelt
67f89abffc
add mod_status
15 years ago
Thomas Porzelt
bdce397e70
get rid of global vars in mod_fortune
15 years ago
Thomas Porzelt
9b2773750e
update mod_fortune for virtual request code, readd to wscript
15 years ago
Thomas Porzelt
d7bfbde1fc
removeleft over testing code from mod_fortune
15 years ago
Thomas Porzelt
616180e9ac
add mod_fortune
15 years ago