1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00
serenity/Libraries
Andreas Kling 41066b009f LibCore: Don't fire Socket::on_ready_to_read if !can_read()
This is a bit of a pickle and I'm unsure what's the best behavior here.

Since notifiers fire asynchronously via the event loop, we may end up
firing a notifier for a socket fd, but then reading/writing that socket
fd before ending up in the notifier callback.

In that situation, the socket is no longer in the same state as it was
when the event loop generated the notifier event.

This patch stops Socket from firing one hook in this situation but this
probably needs a global rethink.

With this change, Browser starts reliably in multi-process mode. :^)
2020-07-06 23:17:10 +02:00
..
LibAudio WavLoader: Search for DATA marker by reading single bytes 2020-06-18 23:13:48 +02:00
LibC Add manpages for posix_spawn 2020-07-06 10:01:14 +02:00
LibCore LibCore: Don't fire Socket::on_ready_to_read if !can_read() 2020-07-06 23:17:10 +02:00
LibCrypto LibCrypto: Add CTR cipher mode 2020-06-25 21:05:40 +02:00
LibDebug LibDebug: Add all Dwarf v5 attributes, tags, and form enum values 2020-06-03 08:12:50 +02:00
LibDesktop LibIPC+Services: Support URL as a native IPC type 2020-06-07 22:55:33 +02:00
LibELF Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
LibGemini AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
LibGfx LibGfx+JPGLoader: Print failure message for progressive JPEGs 2020-06-28 16:56:59 +02:00
LibGUI LibGUI: Sort FileSystemModel alphabetically internally 2020-07-04 20:33:23 +02:00
LibHTTP AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
LibImageDecoderClient ImageDecoder: Add a new service for out-of-process image decoding :^) 2020-06-22 21:47:00 +02:00
LibIPC LibIPC+Services: Make ClientConnection take socket as NonnullRefPtr 2020-07-06 13:30:11 +02:00
LibJS LibJS: Reformat run-tests.sh output 2020-07-03 19:30:13 +02:00
LibKeyboard Kernel: Move headers intended for userspace use into Kernel/API/ 2020-07-04 17:22:23 +02:00
LibLine LibLine: Support Ctrl-b/f and Ctrl-d 2020-07-06 22:41:35 +02:00
LibM LibM: Add some more math functions 2020-06-22 10:33:50 +02:00
LibMarkdown LibMarkdown: Change internal MD API to return OwnPtrs 2020-05-30 00:32:12 +02:00
LibPCIDB Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibProtocol ProtocolServer+LibProtocol: Propagate HTTP status codes to clients 2020-06-13 22:20:37 +02:00
LibPthread Kernel: Move headers intended for userspace use into Kernel/API/ 2020-07-04 17:22:23 +02:00
LibTextCodec LibTextCodec: Improve Latin-1 decoder so it decodes everything 2020-05-27 19:52:18 +02:00
LibThread Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibTLS LibTLS: Simplify record padding logic and ASSERT more assumptions 2020-06-04 15:58:04 +02:00
LibUnwind LibUnwind: Create UnwindBase.h to capture the EH ABI in code 2020-05-14 08:50:10 +02:00
LibVT Terminal+LibVT: Add "clear including history" action (Ctrl+Shift+K) :^) 2020-07-05 23:34:02 +02:00
LibWeb LibWeb: Don't show unnecessary scrollbars in WebContentView 2020-07-06 22:02:38 +02:00
LibX86 LibX86: Disassemble the XADD instruction 2020-06-28 21:10:53 +02:00
CMakeLists.txt ImageDecoder: Add a new service for out-of-process image decoding :^) 2020-06-22 21:47:00 +02:00