mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +01:00
ircd::server: Discard reads when tag has committed no writes.
This commit is contained in:
parent
c79cbe670b
commit
d2388a1abf
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue