Merge branch 'patch-2' of https://github.com/acesso/nghttp2 into acesso-patch-2
This commit is contained in:
commit
f86c11f07d
|
@ -253,7 +253,7 @@ FILE *open_file_for_write(const char *filename) {
|
||||||
|
|
||||||
// We get race condition if execve is called at the same time.
|
// We get race condition if execve is called at the same time.
|
||||||
if (fd != -1) {
|
if (fd != -1) {
|
||||||
make_socket_closeonexec(fd);
|
util::make_socket_closeonexec(fd);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
|
|
Loading…
Reference in New Issue