Commit ffed9c4d authored by Alexander Alashkin's avatar Alexander Alashkin Committed by Cesanta Bot

Copy flags for accepted connection

PUBLISHED_FROM=4787d59fdc9f4da525ddfae46e5203d06a596ef4
parent 0dc0c5a0
......@@ -3519,6 +3519,7 @@ static void spawn_handling_thread(struct mg_connection *nc) {
c[1]->proto_handler = nc->proto_handler;
c[1]->user_data = nc->user_data;
c[1]->sa = nc->sa;
c[1]->flags = nc->flags;
mg_start_thread(per_connection_thread_function, c[1]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment