Re: dieGif? It's been broken for some time it seems. Reply #15 – May 03, 2018, 01:00:30 pm Yes, php-fpm.
Re: dieGif? It's been broken for some time it seems. Reply #16 – May 03, 2018, 03:45:33 pm Then, from index.php try removing:Code: [Select] // Don't make people wait on us if we can help it. if (function_exists('fastcgi_finish_request')) fastcgi_finish_request();
Re: dieGif? It's been broken for some time it seems. Reply #17 – May 03, 2018, 09:05:11 pm That fixes it. No errors in the log and the response has gif headers.
Re: dieGif? It's been broken for some time it seems. Reply #18 – May 03, 2018, 09:46:33 pm So really since you know it's going to end in dieGif don't you want to send the gif right before you call fast_cgi_finish? Then go process the scheduled tasks and simply return w/o any further data where you previously called dieGif?
Re: dieGif? It's been broken for some time it seems. Reply #19 – May 04, 2018, 02:36:58 am Honestly I didn't notice it because I don't use fastcgi.It was added back in 2015.I think we have two options here:1) drop the fastcgi call,2) drop the dying with a gif.The gif was added back in 2011 with this commit message:QuoteChrome was displaying a warning when scheduled tasks were triggered via JavaScript. (ScheduledTasks.php) [Bug 4673]and the bug should be:http://dev.simplemachines.org/mantis/view.php?id=4673I feel like chrome was whining because a gif header was sent without the gif.I'd be tempted to say: let's remove the gif header and send an empty page instead. Problem solved.
Re: dieGif? It's been broken for some time it seems. Reply #20 – May 04, 2018, 02:44:07 am Effectively anyone running fastcgi has been sending an empty page. I never notice anything browser wise to tip me off that it was sending an empty page in an img tag. I agree the send a gif seems an odd choice over an empty page.
Re: dieGif? It's been broken for some time it seems. Reply #21 – May 04, 2018, 07:15:04 am I think the 1px gif is an heritage of the old days when browsers may complain about an empty responses.Okay, let's take a look at dropping this stuff once and for all! xD