diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2023-04-09 00:04:33 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-04-24 21:17:29 -0400 |
commit | c90466b4a3cf0dd66cd7c7a1a27a17c9906fcb23 (patch) | |
tree | 26f02259fc35f5ae1e61688dccaaaffe77836956 /src/connections.c | |
parent | 62f77a95d6cc0f2044eb13dd36ddfd2d4f8d17fe (diff) | |
download | lighttpd-git-c90466b4a3cf0dd66cd7c7a1a27a17c9906fcb23.tar.gz |
[core] expose request_set_state() for internal use
expose request_set_state() in request.h for internal use
Diffstat (limited to 'src/connections.c')
-rw-r--r-- | src/connections.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/connections.c b/src/connections.c index 9a0d0710..51e7d5c5 100644 --- a/src/connections.c +++ b/src/connections.c @@ -32,12 +32,9 @@ #define HTTP_LINGER_TIMEOUT 5 -#define connection_set_state(r, n) ((r)->state = (n)) +#define connection_set_state(r,state) request_set_state((r),(state)) +#define connection_set_state_error(r,state) request_set_state_error((r),(state)) -__attribute_cold__ -static void connection_set_state_error(request_st * const r, const request_state_t state) { - connection_set_state(r, state); -} __attribute_cold__ static connection *connection_init(server *srv); |