History log of /lighttpd1.4/src/mod_sockproxy.c (Results 1 – 23 of 23)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: lighttpd-1.4.69, lighttpd-1.4.68
# 5e14db43 10-Dec-2022 Glenn Strauss <[email protected]>

[multiple] employ ck_calloc, ck_malloc shared code

employ ck_calloc(), ck_malloc() shared code to slightly reduce code size
(centralize the ck_assert() to check that memory allocation succeeded)


# b82d7b8a 06-Dec-2022 Glenn Strauss <[email protected]>

[multiple] mark mod_*_plugin_init() funcs cold


Revision tags: lighttpd-1.4.67, lighttpd-1.4.66, lighttpd-1.4.65
# 2a7d3a27 10-May-2022 Glenn Strauss <[email protected]>

[multiple] rename status_counter -> plugin_stats


# e5dc98fa 06-Apr-2022 Glenn Strauss <[email protected]>

[mod_sockproxy] reset http vers, avoid rare crash (fixes #3152)

(thx ultimator)

x-ref:
"Random Segfaults with version 1.4.64 w/ mod_sockproxy and ALPN h2"
https://redmine.lighttpd.net/issues/31

[mod_sockproxy] reset http vers, avoid rare crash (fixes #3152)

(thx ultimator)

x-ref:
"Random Segfaults with version 1.4.64 w/ mod_sockproxy and ALPN h2"
https://redmine.lighttpd.net/issues/3152

show more ...


Revision tags: lighttpd-1.4.64, lighttpd-1.4.63, lighttpd-1.4.62, lighttpd-1.4.61, lighttpd-1.4.60, lighttpd-1.4.59, lighttpd-1.4.58, lighttpd-1.4.57, lighttpd-1.4.56, lighttpd-1.4.56-rc7, lighttpd-1.4.56-rc6, lighttpd-1.4.56-rc5, lighttpd-1.4.56-rc4, lighttpd-1.4.56-rc3, lighttpd-1.4.56-rc2, lighttpd-1.4.56-rc1
# 33c8cf41 25-Jul-2020 Glenn Strauss <[email protected]>

[multiple] rename connection_reset hook to request

rename connection_reset to handle_request_reset


# c18f442a 20-May-2020 Glenn Strauss <[email protected]>

[multiple] add summaries to top of some modules


Revision tags: lighttpd-1.4.55
# 7c7f8c46 13-Jan-2020 Glenn Strauss <[email protected]>

[multiple] split con, request (very large change)

NB: r->tmp_buf == srv->tmp_buf (pointer is copied for quicker access)

NB: request read and write chunkqueues currently point to connection
chun

[multiple] split con, request (very large change)

NB: r->tmp_buf == srv->tmp_buf (pointer is copied for quicker access)

NB: request read and write chunkqueues currently point to connection
chunkqueues; per-request and per-connection chunkqueues are
not distinct from one another
con->read_queue == r->read_queue
con->write_queue == r->write_queue

NB: in the future, a separate connection config may be needed for
connection-level module hooks. Similarly, might need to have
per-request chunkqueues separate from per-connection chunkqueues.
Should probably also have a request_reset() which is distinct from
connection_reset().

show more ...


# 31d94953 11-Jan-2020 Glenn Strauss <[email protected]>

[core] store subrequest_handler instead of mode

store pointer to module in handler_module instead of con->mode id


# 100dfaa3 09-Jan-2020 Glenn Strauss <[email protected]>

[core] move plugin_ctx into (request_st *)

NB: in the future, a separate plugin_ctx may be needed for
connection-level plugins to keep state across multiple requests


# 1474be78 08-Jan-2020 Glenn Strauss <[email protected]>

[core] move addtl request-specific struct members


# 03b4c993 08-Dec-2019 Glenn Strauss <[email protected]>

[multiple] generic config array type checking


# f24e6d69 28-Nov-2019 Glenn Strauss <[email protected]>

[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 le

[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)

show more ...


# 50bdb55d 26-Nov-2019 Glenn Strauss <[email protected]>

[multiple] connection hooks no longer get (srv *)

(explicit (server *) not passed; available in con->srv)


# 010c2894 25-Nov-2019 Glenn Strauss <[email protected]>

[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 passi

[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)

show more ...


# cec18f43 23-Nov-2019 Glenn Strauss <[email protected]>

[core] gw_exts_clear_check_local()


# 4a6fe838 13-Nov-2019 Glenn Strauss <[email protected]>

[multiple] gw_backends config_plugin_values_init()


# e2de4e58 19-Oct-2019 Glenn Strauss <[email protected]>

[core] const char *name in struct plugin

put void *data (always used) as first member of struct plugin

add int nconfig member to PLUGIN_DATA

calloc() inits p->data to NULL


# 36f64b26 17-Oct-2019 Glenn Strauss <[email protected]>

[core] simpler config_check_cond()

optimize for common case where condition has been evaluated for
the request and a cached result exists

(also: begin isolating data_config)


# 47a758f9 13-Oct-2019 Glenn Strauss <[email protected]>

[core] inline buffer key for *_patch_connection()

handle buffer key as part of DATA_UNSET in *_patch_connection()
(instead of key being (buffer *))


# 83535bbe 10-Oct-2019 Glenn Strauss <[email protected]>

[core] differentiate array_get_* for ro and rw

array_get_element_klen() is now intended for read-only access
array_get_data_unset() is used by config processing for r/w access
array_get_buf_ptr() is

[core] differentiate array_get_* for ro and rw

array_get_element_klen() is now intended for read-only access
array_get_data_unset() is used by config processing for r/w access
array_get_buf_ptr() is used for r/w access to ds->value (string buffer)

show more ...


Revision tags: lighttpd-1.4.54
# 6a988bb0 27-Feb-2019 Mohammed Sadiq <[email protected]>

[multiple] cleaner calloc use in SETDEFAULTS_FUNC

github: closes #99

x-ref:
"cleaner calloc use in SETDEFAULTS_FUNC"
https://github.com/lighttpd/lighttpd1.4/pull/99


Revision tags: lighttpd-1.4.53, lighttpd-1.4.52
# 3d8d56d8 07-Nov-2018 Glenn Strauss <[email protected]>

[multiple] perf: reuse large buffers w/ backend


Revision tags: lighttpd-1.4.51, lighttpd-1.4.50
# c4d743bb 14-Jun-2018 Glenn Strauss <[email protected]>

mod_sockproxy - socket forwarding

(experimental)