Skip to content
Snippets Groups Projects
Commit 4658194d authored by Maxim Ignatenko's avatar Maxim Ignatenko Committed by Sergey Lyubka
Browse files

Properly populate mg_connection.sa field

    PUBLISHED_FROM=a305c720aee1b159847e10c962b6de7fe08bc787
parent b3565781
No related branches found
No related tags found
No related merge requests found
......@@ -2399,6 +2399,7 @@ static struct mg_connection *accept_conn(struct mg_connection *ls) {
c->proto_handler = ls->proto_handler;
c->user_data = ls->user_data;
c->recv_mbuf_limit = ls->recv_mbuf_limit;
c->sa = sa;
if (c->ssl == NULL) { /* SSL connections need to perform handshake. */
mg_call(c, MG_EV_ACCEPT, &sa);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment