Lines Matching full:conn
66 @@ -3768,15 +3781,8 @@ static void reset_per_request_attributes(struct mg_connection *conn) {
91 @@ -3812,1 +3812,1 @@ static void close_connection(struct mg_connection *conn) {
94 static void discard_current_request_from_buffer(struct mg_connection *conn) {
98 - buffered = conn->buf + conn->request_len;
99 buffered_len = conn->data_len - conn->request_len;
102 @@ -3867,7 +3865,7 @@ static void handle_proxy_request(struct mg_connection *conn) {
104 conn->peer->client.is_ssl = is_ssl;
109 mg_printf(conn->peer, "%s %s HTTP/%s\r\n", ri->request_method, ri->uri + len,
111 @@ -2820,6 +2820,8 @@ static void prepare_cgi_environment(struct mg_connection *conn,
113 blk->conn = conn;
117 get_document_root(conn, &root);
119 addenv(blk, "SERVER_NAME=%s", conn->ctx->config[AUTHENTICATION_DOMAIN]);
120 @@ -2916,6 +2918,8 @@ static void handle_cgi_request(struct mg_connection *conn, const char *prog) {
126 prepare_cgi_environment(conn, prog, &blk);