[GH-ISSUE #528] [BUG] Couldn't resolve IPv6 with gethostbyname() #525

Open
opened 2026-03-03 19:19:32 +03:00 by kerem · 1 comment
Owner

Originally created by @NghiaTranUIT on GitHub (Jun 18, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/528

Originally assigned to: @NghiaTranUIT on GitHub.

Description

gethostbyname (https://beej.us/guide/bgnet/html/#gethostnameman) is deprecated because it doesn't work well with ipv6. Thus, it's also a reason why sometimes we get an error from this func when fetching the remote certificate 🐛

Acceptance Criteria

  • Use getaddrinfo
Originally created by @NghiaTranUIT on GitHub (Jun 18, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/528 Originally assigned to: @NghiaTranUIT on GitHub. ### Description `gethostbyname` (https://beej.us/guide/bgnet/html/#gethostnameman) is deprecated because it doesn't work well with ipv6. Thus, it's also a reason why sometimes we get an error from this func when fetching the remote certificate 🐛 ### Acceptance Criteria - Use `getaddrinfo `
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 19, 2020):

All done 🙌

<!-- gh-comment-id:646397488 --> @NghiaTranUIT commented on GitHub (Jun 19, 2020): All done 🙌
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#525
No description provided.