src/session.c
static int conn_session_complete(struct connection *conn)
{
	struct session *s = conn->owner;

	if (!(conn->flags & CO_FL_ERROR) && (session_complete(s) > 0)) {
		conn->flags &= ~CO_FL_INIT_DATA;
		return 0;
	}

	/* kill the connection now */
	kill_mini_session(s);
	return -1;
}
/* Finish initializing a session from a connection, or kills it if the
 * connection shows and error. Returns <0 if the connection was killed.
 */
Finish initializing a session from a connection, or kills it if the
connection shows and error. Returns <0 if the connection was killed.
Finish initializing a session from a connection or kills it if the connection shows and error . Returns <0 if the connection was killed .
static int conn_session_complete(struct connection *conn)
{
	struct session *s = conn->owner;
	if (!(conn->flags & CO_FL_ERROR) && (session_complete(s) > 0)) {
		conn->flags &= ~CO_FL_INIT_DATA;
		return 0;
	}
	kill_mini_session(s);
	return -1;
}
static int conn_session_complete ( struct connection * conn ) { struct session * s = conn -> owner ; if ( ! ( conn -> flags & CO_FL_ERROR ) && ( session_complete ( s ) > 0 ) ) { conn -> flags &= ~ CO_FL_INIT_DATA ; return 0 ; } kill_mini_session ( s ) ; return -1 ; }
Finish initializing a session from a connection, or kills it if the
 connection shows and error.
Finish initializing a session from a connection or kills it if the connection shows and error .
/* kill the connection now */