https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23723
Dobrica Pavlinusic <dpav...@rot13.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #93551|0 |1 is obsolete| | --- Comment #8 from Dobrica Pavlinusic <dpav...@rot13.org> --- Created attachment 93552 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93552&action=edit Bug 23723: using exit inside eval to stop sending output to browser doesn't work under plack When fixing Bug 23589 Theodoros Theodoropoulos noticed that we are sending headers and html after pdf output to browser. Using exit inside eval block doesn't stop plack from generating headers and html page after exit since CGI::Compile will catch exit but doesn't stop emiting output. Example is: eval { warn "in eval"; exit; }; warn "after eval"; Under CGI, this would print just "in eval", but under plack we get both lines and thus generate additional header and html after we already sent pdf data. Current status: Needs Signoff -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/