Glenn Strauss
81c9d0acf1
[mod_expire] parse config into structured data
3 years ago
Glenn Strauss
68d8d4c532
[multiple] stat_cache singleton
3 years ago
Glenn Strauss
b5775b9951
[multiple] reduce direct use of srv->errh
3 years ago
Glenn Strauss
c8cd7cf49b
[multiple] extern log_epoch_secs
...
replace srv->cur_ts
3 years ago
Glenn Strauss
409bba80b1
[multiple] reduce direct use of srv->cur_ts
3 years ago
Glenn Strauss
68c58c162b
[core] log_error_multiline_buffer()
...
replaces log_error_write_multiline_buffer()
3 years ago
Glenn Strauss
6f39097ab6
[core] pass con around gw_backend instead of srv
3 years ago
Glenn Strauss
304e46d4f8
[core] default chunk size 8k (was 4k)
3 years ago
Glenn Strauss
de73b190a4
[core] read up-to fixed size chunk before fionread
3 years ago
Glenn Strauss
f24e6d696a
[multiple] plugin_stats array
...
use global rather than passing around (server *) just for that
li_itostrn() and li_utostrn() return string length
(rather than requiring subsequent strlen() to find length)
3 years ago
Glenn Strauss
50bdb55de8
[multiple] connection hooks no longer get (srv *)
...
(explicit (server *) not passed; available in con->srv)
3 years ago
Glenn Strauss
0fcd51438d
[core] create http chunk header on the stack
...
streamline code in http_chunk.c
3 years ago
Glenn Strauss
010c28949c
[multiple] prefer (connection *) to (srv *)
...
convert all log_error_write() to log_error() and pass (log_error_st *)
use con->errh in preference to srv->errh (even though currently same)
avoid passing (server *) when previously used only for logging (errh)
3 years ago
Glenn Strauss
644725127f
[core] connection_handle_errdoc() separate func
3 years ago
Glenn Strauss
c2a16bb228
[core] gw_backend less pointer chasing
3 years ago
Glenn Strauss
cec18f4381
[core] gw_exts_clear_check_local()
3 years ago
Glenn Strauss
24680a9142
[core] array_init() arg for initial size
3 years ago
Glenn Strauss
a03afc9043
[mod_auth] inline arrays in http_auth_require_t
...
also, keep ptr to const buffer *realm rather than copy
3 years ago
Glenn Strauss
c193da3404
[core] split cond cache from cond matches
3 years ago
Glenn Strauss
5977ce2b4a
[core] isolate use of data_config, configfile.h
3 years ago
Glenn Strauss
2ec70f234a
[core] stat_cache_path_contains_symlink use errh
...
use log_error() with con->errh
3 years ago
Glenn Strauss
09ab979f30
[mod_wstunnel] change DEBUG_LOG to use log_error()
3 years ago
Glenn Strauss
ba88ff0e93
[core] run all trigger and sighup handlers
...
(do not bail if a handler returns something other than HANDLER_GO_ON)
(preserve fn signature for simplicity and compat with plugin_fn_data)
3 years ago
Glenn Strauss
b73949e03f
[multiple] plugin.c handles common FREE_FUNC code
...
(simpler for modules; less boilerplate to cut-n-paste)
3 years ago
Glenn Strauss
ea75c0b87d
[core] remove old config_insert_values_*() funcs
3 years ago
Glenn Strauss
2495177131
[core] gw_backend config_plugin_values_init_block
...
switch gw_backend.c to use config_plugin_values_init_block()
3 years ago
Glenn Strauss
9339b73e0a
[core] config_plugin_values_init_block()
...
split from config_plugin_values_init() for reuse by gw_backend.c
3 years ago
Glenn Strauss
65ef0a3d69
[core] collect more config logic into configfile.c
3 years ago
Glenn Strauss
ed62e354ff
[core] use config_plugin_values_init()
3 years ago
Glenn Strauss
83633a9f06
[mod_openssl] use config_plugin_values_init()
3 years ago
Glenn Strauss
d23071a38f
[core] config_get_config_cond_info()
...
isolate direct use of (data_config *)
3 years ago
Glenn Strauss
4a6fe83837
[multiple] gw_backends config_plugin_values_init()
3 years ago
Glenn Strauss
0ad4911d39
[mod_rrdtool] use config_plugin_values_init()
3 years ago
Glenn Strauss
7f3917c1be
[mod_rewrite] use config_plugin_values_init()
3 years ago
Glenn Strauss
cdf27138fd
[mod_redirect] use config_plugin_values_init()
3 years ago
Glenn Strauss
63a6e52ce4
[core] store addtl data in pcre_keyvalue_buffer
...
reduce pointer chasing in keyvalue.c
mark keyvalue.h config routines as cold
3 years ago
Glenn Strauss
f7d1434366
[mod_webdav] use config_plugin_values_init()
3 years ago
Glenn Strauss
e38e907f86
[mod_extforward] use config_plugin_values_init()
3 years ago
Glenn Strauss
3fe1827633
[mod_dirlisting] use config_plugin_values_init()
3 years ago
Glenn Strauss
131450da29
[mod_cgi] use config_plugin_values_init()
3 years ago
Glenn Strauss
858352f6e8
[core] add xsendfile* check if xdocroot is NULL
3 years ago
Glenn Strauss
16665ae5f4
[mod_compress] use config_plugin_values_init()
3 years ago
Glenn Strauss
c83fcf0564
[mod_deflate] use config_plugin_values_init()
3 years ago
Glenn Strauss
8e713130b3
[mod_auth*] use config_plugin_values_init()
3 years ago
Glenn Strauss
12b11f3042
[mod_maxminddb] use config_plugin_values_init()
3 years ago
Glenn Strauss
e2718f85cb
[mod_mysql_vhost] use config_plugin_values_init()
3 years ago
Glenn Strauss
2a281ec6ea
[mod_vhostdb*] use config_plugin_values_init()
3 years ago
Glenn Strauss
d1fba24469
[mod_evhost] use config_plugin_values_init()
...
use array of buffers to increase performance
(reduce pointer chasing)
3 years ago
Glenn Strauss
28691e6f84
[mod_simple_vhost] use config_plugin_values_init()
...
replace caching with one-element cache of last directory root
stat_cache is a cache and will handle additional caching, as configured
3 years ago
Glenn Strauss
74bbb3077f
[mod_accesslog] use config_plugin_values_init()
...
inline various structures and use C99 VLA to increase performance
(reduce pointer chasing)
3 years ago