encoder/interface: make Read() noexcept (all implementations are)

This commit is contained in:
Max Kellermann
2022-07-12 10:04:17 +02:00
parent 31d89b36cf
commit e861d4f83d
5 changed files with 8 additions and 14 deletions

View File

@@ -142,7 +142,7 @@ HttpdOutput::OnAccept(UniqueSocketDescriptor fd,
}
PagePtr
HttpdOutput::ReadPage()
HttpdOutput::ReadPage() noexcept
{
if (unflushed_input >= 65536) {
/* we have fed a lot of input into the encoder, but it
@@ -277,7 +277,7 @@ HttpdOutput::BroadcastPage(PagePtr page) noexcept
}
void
HttpdOutput::BroadcastFromEncoder()
HttpdOutput::BroadcastFromEncoder() noexcept
{
/* synchronize with the IOThread */
{