mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
IPv4: Don't hold IPv4Socket lock when blocking on byte-buffered receive
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user