mirror of
https://github.com/matrix-construct/construct
synced 2024-06-10 22:18:54 +02:00
ircd::server: Discard reads when tag has committed no writes.
This commit is contained in:
parent
c79cbe670b
commit
d2388a1abf
|
@ -1487,6 +1487,7 @@ try
|
|||
{
|
||||
// Tag hasn't sent its data yet, we shouldn't have anything for it
|
||||
assert(empty(overrun));
|
||||
discard_read(); // Should stumble on a socket error.
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue