0
0
Fork 0
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:
Jason Volk 2018-04-06 01:05:04 -07:00
parent c79cbe670b
commit d2388a1abf

View file

@ -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;
}