History log of /lighttpd1.4/src/t/test_request.c (Results 1 – 25 of 45)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: lighttpd-1.4.69, lighttpd-1.4.68, lighttpd-1.4.67, lighttpd-1.4.66, lighttpd-1.4.65, lighttpd-1.4.64
# f3052d6a 06-Jan-2022 Stefan Bühler <[email protected]>

[asan tests] fix memory leaks


Revision tags: lighttpd-1.4.63, lighttpd-1.4.62
# bab0e5d0 15-Nov-2021 Glenn Strauss <[email protected]>

[tests] combine tests into test_common.c

combine common components tests into test_common.c

combine into a single executable to reduce compilation/link redundancy


Revision tags: lighttpd-1.4.61, lighttpd-1.4.60
# 7b615d5d 12-Sep-2021 Glenn Strauss <[email protected]>

[multiple] de-dup file and piped loggers (fixes #3101)

de-dup file and piped loggers for error logs and access logs

x-ref:
"RFE: de-dup file and piped loggers"
https://redmine.lighttpd.net/issu

[multiple] de-dup file and piped loggers (fixes #3101)

de-dup file and piped loggers for error logs and access logs

x-ref:
"RFE: de-dup file and piped loggers"
https://redmine.lighttpd.net/issues/3101

show more ...


# a0a8cf82 05-Jul-2021 Glenn Strauss <[email protected]>

[tests] mv tests from request.t to test_request.c

move some tests from tests/*.t to src/t/test_request.c


# d4f43f7e 04-Jul-2021 Glenn Strauss <[email protected]>

[tests] update t/test_request.c

use http_header_request_get() in tests to retrieve request headers


# bac34c1a 17-May-2021 Glenn Strauss <[email protected]>

[tests] quite coverity warning in test_request.c


Revision tags: lighttpd-1.4.59
# 5ccebbf0 22-Jan-2021 Glenn Strauss <[email protected]>

[multiple] quiet some clang-analyzer warnings


Revision tags: 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
# 8fc8ab89 27-Aug-2020 Glenn Strauss <[email protected]>

[core] http_request_parse_header() specialized

http_request_parse_header() specialized for HTTP/2 request headers
to be parsed as each field-name and value is HPACK-decoded; send headers
directly fr

[core] http_request_parse_header() specialized

http_request_parse_header() specialized for HTTP/2 request headers
to be parsed as each field-name and value is HPACK-decoded; send headers
directly from HPACK decoder, rather than double-buffering in chunkqueue

http_request_headers_process_h2() for post-processing

show more ...


# 6971c6c8 09-Aug-2020 Glenn Strauss <[email protected]>

[core] move http_request_headers_process()

move http_request_headers_process() to request.[ch]


Revision tags: lighttpd-1.4.55
# 17e0b6fe 22-Jan-2020 Glenn Strauss <[email protected]>

[tests] use buffer_eq_slen() for str comparison

(substitute buffer_eq_slen() for buffer_is_equal_string())


# 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 ...


# 8131e439 09-Jan-2020 Glenn Strauss <[email protected]>

[core] move addtl request-specific struct members


# 3648d290 07-Jan-2020 Glenn Strauss <[email protected]>

[core] t/test_request.c using (request_st *)

further isolate t/test_request.c tests to use (request_st *)


# af5df352 07-Jan-2020 Glenn Strauss <[email protected]>

[core] rename content_length to reqbody_length

rename content_length to reqbody_length in request,
to more easily differentiate request body length
from response content_length


# 8c46768d 07-Jan-2020 Glenn Strauss <[email protected]>

[core] remove unused request_st member 'request'


# 6870b0f5 06-Jan-2020 Glenn Strauss <[email protected]>

[core] pass (request_st *) to request.c funcs

instead of (struct connection *)


# 6748a58c 06-Jan-2020 Glenn Strauss <[email protected]>

[core] pass scheme port to http_request_parse()

con->proto_default_port is a property of the connection,
which influences the default port used in host normalization


# 1dd58c5a 08-Dec-2019 Glenn Strauss <[email protected]>

[multiple] con->proto_default_port


# c8cd7cf4 04-Dec-2019 Glenn Strauss <[email protected]>

[multiple] extern log_epoch_secs

replace srv->cur_ts


# 409bba80 04-Dec-2019 Glenn Strauss <[email protected]>

[multiple] reduce direct use of srv->cur_ts


# 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 ...


# feb21b3d 16-Oct-2019 Glenn Strauss <[email protected]>

[core] inline header and env arrays into con


# 601c572c 13-Oct-2019 Glenn Strauss <[email protected]>

[core] inline buffer as part of data_string value

(instead of value being (buffer *))


# ddb78f75 03-Oct-2019 Glenn Strauss <[email protected]>

[core] remove unused array_reset()


# 36f3206a 28-Sep-2019 Glenn Strauss <[email protected]>

[core] pass ptr to http_request_parse()


12