ladybird/Libraries/LibCore
Luke Wilde 08246bfa8c LibCore: Don't discard subsequent results in Socket::resolve_host
Previously, we only returned the first result that looked like an IPv6
or IPv4 address.

This cropped up when attempting to connect to https://cxbyte.me/ whilst
IPv6 on the server wasn't working. Since we only returned the first
result, which happened to be the IPv6 address, we wasn't able to
connect.

Returning all results allows curl to attempt to connect to a different
IP if one of them isn't working, and potentially make a successful
connection.
2025-02-28 15:14:35 +01:00
..
Platform
AnonymousBuffer.cpp
AnonymousBuffer.h
AnonymousBufferWindows.cpp LibCore: Consistently treat file descriptors as handles on Windows 2025-02-05 19:27:47 -07:00
ArgsParser.cpp AK+Everywhere: Convert JSON value serialization to String 2025-02-20 19:27:51 -05:00
ArgsParser.h
CMakeLists.txt LibCore: Implement System::socketpair on Windows 2025-02-14 09:38:59 -07:00
Command.cpp Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
Command.h
ConfigFile.cpp LibCore: Fix ConfigFile.cpp compilation on Windows 2024-11-19 22:07:01 -07:00
ConfigFile.h
DateTime.cpp
DateTime.h LibWeb: Add documentation to the date parser format 2025-01-03 11:26:01 +00:00
DeferredInvocationContext.h
Directory.cpp LibCore: Port Directory to Windows 2024-11-19 22:07:01 -07:00
Directory.h LibCore: Port Directory to Windows 2024-11-19 22:07:01 -07:00
DirectoryEntry.cpp
DirectoryEntry.h
DirIterator.cpp
DirIterator.h
ElapsedTimer.cpp
ElapsedTimer.h LibCore: Remove deprecated ElapsedTimer::elapsed() 2024-11-23 19:20:03 +01:00
Environment.cpp
Environment.h
Event.cpp
Event.h
EventLoop.cpp LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventLoop.h LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventLoopImplementation.cpp LibCore: Port EventLoop to Windows 2024-11-14 11:18:38 -07:00
EventLoopImplementation.h LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventLoopImplementationUnix.cpp LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventLoopImplementationUnix.h LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventLoopImplementationWindows.cpp LibCore: Add missing HashMap include to Windows EventLoop 2025-02-11 01:41:46 -07:00
EventLoopImplementationWindows.h LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventReceiver.cpp
EventReceiver.h LibCore: Make EventReceiver ref counting use atomics 2024-12-26 13:45:10 +01:00
File.cpp
File.h
FileWatcher.h Everywhere: Include HashMap only where it's actually used 2024-12-09 12:31:16 +01:00
FileWatcherLinux.cpp
FileWatcherMacOS.mm AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
FileWatcherUnimplemented.cpp
Forward.h
IOSurface.cpp
IOSurface.h
LocalServer.cpp LibCore: Remove SessionManagement utilities 2024-11-26 11:00:48 +01:00
LocalServer.h LibCore: Remove SessionManagement utilities 2024-11-26 11:00:48 +01:00
MachPort.cpp
MachPort.h
MappedFile.cpp LibCore: Port MappedFile to Windows 2024-11-26 10:00:11 +01:00
MappedFile.h
MimeData.cpp Everywhere: Remove some use of the URL constructors 2025-02-19 08:01:35 -05:00
MimeData.h
NetworkResponse.h
Notifier.cpp
Notifier.h LibCore: Fix pthread-related errors on Windows 2024-11-29 10:50:00 +01:00
Process.cpp Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
Process.h LibCore/Process: Add DupFd file action 2024-12-05 17:02:57 -07:00
ProcessWindows.cpp LibCore: Correctly pass arguments with spaces to Process on Windows 2025-02-06 15:15:16 -07:00
Promise.h
Proxy.h LibURL: Replace Host's Empty state with making Url's Host optional 2024-11-30 12:07:39 +01:00
Resource.cpp
Resource.h
ResourceImplementation.cpp LibCore: Add S_ISDIR, S_ISREG to System.h on Windows 2025-02-12 18:42:05 -07:00
ResourceImplementation.h
ResourceImplementationFile.cpp LibCore: Add S_ISDIR, S_ISREG to System.h on Windows 2025-02-12 18:42:05 -07:00
ResourceImplementationFile.h
SharedCircularQueue.h LibCore: Port SharedCircularQueue to Windows 2024-12-08 17:25:40 -07:00
Socket.cpp LibCore: Don't discard subsequent results in Socket::resolve_host 2025-02-28 15:14:35 +01:00
Socket.h LibCore: Don't discard subsequent results in Socket::resolve_host 2025-02-28 15:14:35 +01:00
SocketAddress.h LibCore: Fix SocketAddress.h compilation errors on Windows 2025-02-05 16:07:39 -07:00
SocketAddressWindows.h LibCore: Implement System::socketpair on Windows 2025-02-14 09:38:59 -07:00
SocketpairWindows.cpp LibCore: Implement System::socketpair on Windows 2025-02-14 09:38:59 -07:00
SocketWindows.cpp LibCore: Add helper to convert Bytes/ReadonlyBytes to WSABUF 2025-02-11 01:41:46 -07:00
StandardPaths.cpp LibCore: Don't search fonts in system_data_directories() on Windows 2025-01-27 09:25:17 +00:00
StandardPaths.h
System.cpp LibCore: Add System::sleep_ms 2025-02-06 15:16:50 -07:00
System.h LibCore: Implement System::socketpair on Windows 2025-02-14 09:38:59 -07:00
SystemServerTakeover.cpp LibCore: Port SystemServerTakeover.cpp to Windows 2025-02-06 15:25:14 -07:00
SystemServerTakeover.h
SystemWindows.cpp LibCore: Implement System::socketpair on Windows 2025-02-14 09:38:59 -07:00
TCPServer.cpp
TCPServer.h
ThreadedPromise.h Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
ThreadEventQueue.cpp
ThreadEventQueue.h
Timer.cpp
Timer.h
TimeZoneWatcher.h
TimeZoneWatcherLinux.cpp
TimeZoneWatcherMacOS.mm
TimeZoneWatcherUnimplemented.cpp
UDPServer.cpp
UDPServer.h
Version.cpp LibCore: Remove ErrorOr return type from read_long_version_string 2025-02-13 08:27:02 -05:00
Version.h LibCore: Remove ErrorOr return type from read_long_version_string 2025-02-13 08:27:02 -05:00