mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
4b202a3c79
The "ready to write" notifier we set up in generic socket connection is really only meant to detect a successful connection. Once we have a TCP connection, for example, it will fire on every event loop iteration. This was causing IRC Client to max out the CPU by getting this no-op notifier callback over and over. Since this was only used by TLSv12, I changed that code to create its own notifier instead. It might be possible to improve TLS performance by only processing writes when actually needed, but I didn't look very closely at that for this patch. :^) |
||
---|---|---|
.. | ||
ClientHandshake.cpp | ||
CMakeLists.txt | ||
Exchange.cpp | ||
Handshake.cpp | ||
Record.cpp | ||
Socket.cpp | ||
TLSPacketBuilder.h | ||
TLSv12.cpp | ||
TLSv12.h |