summaryrefslogtreecommitdiff
path: root/src/connections.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-06-21 07:02:45 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-02-24 11:14:45 -0500
commit80d12919d131b1f0d59f01e2de0afd12ab9ac601 (patch)
treec25cd396cea2270915cf38a763c454965a5cd64c /src/connections.h
parentbe6964f415b11c19aa1fc13bbbaef1332358d4e1 (diff)
downloadlighttpd-git-80d12919d131b1f0d59f01e2de0afd12ab9ac601.tar.gz
[core] replace connection_set_state w/ assignment
replace connection_set_state() with simple assignment (only connections.c and connections-glue.c should change con state)
Diffstat (limited to 'src/connections.h')
-rw-r--r--src/connections.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/connections.h b/src/connections.h
index ba5aaebc..caa310e6 100644
--- a/src/connections.h
+++ b/src/connections.h
@@ -15,7 +15,6 @@ void connection_periodic_maint (server *srv, time_t cur_ts);
connection * connection_accept(server *srv, server_socket *srv_sock);
connection * connection_accepted(server *srv, server_socket *srv_socket, sock_addr *cnt_addr, int cnt);
-int connection_set_state(server *srv, connection *con, connection_state_t state);
const char * connection_get_state(connection_state_t state);
const char * connection_get_short_state(connection_state_t state);
int connection_state_machine(server *srv, connection *con);