]> Sergey Matveev's repositories - public-inbox.git/commit
viewvcs: use shorter and simpler ctx->html_done
authorEric Wong <e@80x24.org>
Sat, 10 Sep 2022 08:16:58 +0000 (08:16 +0000)
committerEric Wong <e@80x24.org>
Sat, 10 Sep 2022 19:50:29 +0000 (19:50 +0000)
commit0ff8c4f7e0815a0aa2e9935dd07ae446ce83c906
treef78d95863027d2eab6b6cf374dd24f80d14002a7
parent10839bf81e72f7699ba818db35237028731cf1fd
viewvcs: use shorter and simpler ctx->html_done

We only return 200s for any response large enough to warrant
->html_done, so we can just assume it.  ViewVCS can also take
advantage of it with some tweaking to avoid an extra method
dispatch.
lib/PublicInbox/View.pm
lib/PublicInbox/ViewVCS.pm
lib/PublicInbox/WwwStream.pm