1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:01:01 +00:00
serenity/Userland
Andrew Kaster a81475d9fb LibCore: Don't assume that the first address from getaddrinfo is IPv4
By passing AF_UNSPEC to getaddrinfo, we're telling the system's
implementation that we are ok getting either (or both) IPv4 and IPv6
addresses in our result. On my Ubuntu 22.04 system, the first addrinfo
returned for "www.google.com" holds an IPv6 address, which when
interpreted as an IPv4 sockaddr_in gives an address of 0.0.0.0.

This fixes TestTLSHandshake in Lagom locally.
2022-10-10 12:23:12 +02:00
..
Applets Userland: Tighten promises by removing 'proc' where it isn't used 2022-10-03 17:09:21 +01:00
Applications PixelPaint: Add Hue/Saturation filter 2022-10-10 11:02:10 +01:00
Demos Userland: Unveil /proc/all in applications which require it 2022-10-03 17:09:21 +01:00
DevTools HackStudio: Use a single global tooltip window 2022-10-06 21:27:40 +01:00
DynamicLoader LibPthread: Implement named semaphores 2022-07-21 16:39:22 +02:00
Games Userland: Tighten promises by removing 'proc' where it isn't used 2022-10-03 17:09:21 +01:00
Libraries LibCore: Don't assume that the first address from getaddrinfo is IPv4 2022-10-10 12:23:12 +02:00
Services Taskbar: Display an icon for removing a widget 2022-10-09 10:20:47 +02:00
Shell AK+Everywhere: Replace "protocol" with "scheme" url helpers 2022-09-29 09:39:04 +01:00
Utilities AK+Everywhere: Fix data corruption due to code-point-to-char conversion 2022-10-09 10:37:20 -06:00
CMakeLists.txt Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00