diff options
| author | Misaki Shioi <31817032+shioimm@users.noreply.github.com> | 2024-12-18 09:48:26 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-18 09:48:26 +0900 |
| commit | 498d6eb114c52bd16a6821029959e88ed8f87396 (patch) | |
| tree | 033ba67c2d18ebe8a0d8d006ac45db92235525c1 /lib | |
| parent | 98bf912d4b88169bf953a290d96fa7f556ad0589 (diff) | |
Wrap `do_fast_fallback_getaddrinfo` with `rb_thread_prevent_fork` (#12366)
Wrap `do_fast_fallback_getaddrinfo` with `rb_thread_prevent_fork`
Referencing PR #10864,
wrap `do_fast_fallback_getaddrinfo` with `rb_thread_prevent_fork`
to avoid fork safety issues.
`do_fast_fallback_getaddrinfo` internally uses getaddrinfo(3),
leading to fork safety issues, as described in PR #10864.
This change ensures that `do_fast_fallback_getaddrinfo`
is guarded by `rb_thread_prevent_fork`,
preventing fork during its execution and avoiding related issues.
Notes
Notes:
Merged-By: shioimm <shioi.mm@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
