0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 23:44:01 +01:00

ircd::server: Fix comments. [ci skip]

This commit is contained in:
Jason Volk 2021-04-04 19:54:11 -07:00
parent a476df4ca1
commit 34b7b76ae8

View file

@ -2620,8 +2620,8 @@ ircd::server::link::handle_readable_success()
// because this loop isn't executing in any ircd::ctx. Since the buffers // because this loop isn't executing in any ircd::ctx. Since the buffers
// we're using are supplied by users in other ctxs they will continue to // we're using are supplied by users in other ctxs they will continue to
// exist as this loop continues to the next tags. There is one exception // exist as this loop continues to the next tags. There is one exception
// case though: canceled requests have their buffers free'ed when the tag // case though: canceled requests have their buffers freed when the tag
// is pop'ed from this link's queue, because the user is gone; the scratch // is popped from this link's queue, because the user is gone; the scratch
// buffer is maintained between iterations in that case. // buffer is maintained between iterations in that case.
unique_buffer<mutable_buffer> scratch; unique_buffer<mutable_buffer> scratch;
const_buffer overrun; do const_buffer overrun; do
@ -2687,7 +2687,7 @@ try
} }
// Branch to handle overrun out of a cancelled tag which needs its data // Branch to handle overrun out of a cancelled tag which needs its data
// copied to scratch before being pop'ed off the queue; fairly rare case. // copied to scratch before being popped off the queue; fairly rare case.
// If the tag is not in a canceled state, the overrun will point to valid // If the tag is not in a canceled state, the overrun will point to valid
// data for the next tag even after being popped off the queue. // data for the next tag even after being popped off the queue.
if(!empty(overrun) && tag.canceled()) if(!empty(overrun) && tag.canceled())