mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Copy flags for accepted connection
PUBLISHED_FROM=4787d59fdc9f4da525ddfae46e5203d06a596ef4
This commit is contained in:
parent
0dc0c5a0e0
commit
ffed9c4d8c
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user