]> Sergey Matveev's repositories - public-inbox.git/commit
view: shorten life of MIME object for permalink
authorEric Wong <e@yhbt.net>
Mon, 17 Feb 2020 11:00:48 +0000 (05:00 -0600)
committerEric Wong <e@yhbt.net>
Mon, 17 Feb 2020 22:54:48 +0000 (22:54 +0000)
commit9703d80efd848f582e5b265db1958e0f143d8712
tree3fb6947c08ac20d027794b027b59f7767f11aa21
parent8a4b5da8df770ce57513d940afd62f0142b266b0
view: shorten life of MIME object for permalink

We don't need to hold onto the Email::MIME object across
multiple WwwResponse->getline calls, instead we can stuff
the rendered HTML of the first (and hopefully only) message
of the buffer into ctx->{-html_tip}.
lib/PublicInbox/View.pm