Try mod_wsgi from develop branch of Git repository with my changes. https://github.com/GrahamDumpleton/mod_wsgi/commit/004ae44ae46b410f3999da1a34dd11e469d98169 <https://github.com/GrahamDumpleton/mod_wsgi/commit/004ae44ae46b410f3999da1a34dd11e469d98169>
Graham > On 19 Jan 2018, at 8:07 am, Graham Dumpleton <graham.dumple...@gmail.com> > wrote: > > > >> On 19 Jan 2018, at 3:31 am, Jesus Cea <j...@jcea.es> wrote: >> >> On 18/01/18 06:23, Graham Dumpleton wrote: >>> Actually, it is also possible that it is ensuring headers are flushed >>> out when there was no response content. >> >> We have a mistery!. That line deserves a comment in the code :). > > Not 100% sure that is what it does yet. > >> My issue is WHY is that done ONLY when no Python exception ocurred. I >> would say that it should be done always if the connection was not closed >> by the client. > > If it is that, because I don't want the original headers flushed out, but > delay so that Apache can substitute with error handler > >> Thanks for spending time on this. >> >> -- >> Jesús Cea Avión _/_/ _/_/_/ _/_/_/ >> j...@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ >> Twitter: @jcea _/_/ _/_/ _/_/_/_/_/ >> jabber / xmpp:j...@jabber.org _/_/ _/_/ _/_/ _/_/ _/_/ >> "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ >> "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ >> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz >> >> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to modwsgi+unsubscr...@googlegroups.com. >> To post to this group, send email to modwsgi@googlegroups.com. >> Visit this group at https://groups.google.com/group/modwsgi. >> For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to modwsgi+unsubscr...@googlegroups.com. To post to this group, send email to modwsgi@googlegroups.com. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.