Skip to content

Commit 239afb5

Browse files
committed
Merge branch 'ab/http-gcc-12-workaround' into seen
Work around false warning pre-release of GCC 12. source: <patch-v3-1.1-69190804c67-20220325T143322Z-avarab@gmail.com> * ab/http-gcc-12-workaround: http API: fix dangling pointer issue noted by GCC 12.0
2 parents 5a50f61 + f17bcb3 commit 239afb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

http.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,6 +1367,7 @@ void run_active_slot(struct active_request_slot *slot)
13671367
select(max_fd+1, &readfds, &writefds, &excfds, &select_timeout);
13681368
}
13691369
}
1370+
slot->finished = NULL;
13701371
}
13711372

13721373
static void release_active_slot(struct active_request_slot *slot)

0 commit comments

Comments
 (0)