summaryrefslogtreecommitdiff
path: root/src/connections.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2016-12-20 21:57:08 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2017-01-14 01:06:16 -0500
commit2bc94dee8223df6eea2d20223614194f17c3d2f0 (patch)
treebd565b7cd60727430594346424ae8f708d8fe916 /src/connections.h
parent93fc82c4acf3560cfa1a353ed4b13046ff33251e (diff)
downloadlighttpd-git-2bc94dee8223df6eea2d20223614194f17c3d2f0.tar.gz
[core] con interface for read/write; isolate SSL
Diffstat (limited to 'src/connections.h')
-rw-r--r--src/connections.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connections.h b/src/connections.h
index fa98120c..c5cbb5c7 100644
--- a/src/connections.h
+++ b/src/connections.h
@@ -16,7 +16,8 @@ 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);
-int connection_handle_read(server *srv, connection *con);
+int connection_read_cq(server *srv, connection *con, chunkqueue *cq, off_t max_bytes);
+int connection_read_cq_ssl(server *srv, connection *con, chunkqueue *cq, off_t max_bytes);
handler_t connection_handle_read_post_state(server *srv, connection *con);
handler_t connection_handle_read_post_error(server *srv, connection *con, int http_status);
void connection_response_reset(server *srv, connection *con);