mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
IPv4: Don't hold IPv4Socket lock when blocking on byte-buffered receive
This commit is contained in:
parent
1d506a935c
commit
22d563b1aa
Notes:
sideshowbarker
2024-07-19 09:48:55 +09:00
Author: https://github.com/awesomekling
Commit: 22d563b1aa
1 changed files with 0 additions and 1 deletions
|
@ -256,7 +256,6 @@ ssize_t IPv4Socket::recvfrom(FileDescription& description, void* buffer, size_t
|
|||
#endif
|
||||
|
||||
if (buffer_mode() == BufferMode::Bytes) {
|
||||
LOCKER(lock());
|
||||
if (m_receive_buffer.is_empty()) {
|
||||
if (protocol_is_disconnected()) {
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue