Copy flags for accepted connection

PUBLISHED_FROM=4787d59fdc9f4da525ddfae46e5203d06a596ef4
This commit is contained in:
Alexander Alashkin authored and Cesanta Bot committed 2016-09-12 10:51:11 +00:00
1 parent 0dc0c5a0e0
commit ffed9c4d8c
1 file changed
+1
+1
View File
@@ -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]);
}