We appear to have solved the download problem

Questions and discussions about bondage in its many forms.
Forum rules
No attacking other users; no advertising products. Be kind. Don't make me beat you.

Because of spammers getting in, all new users have to be approved by admin before their account will be activated. To request activation, please contact Dave at davidnorth@bound2burst.com and provide your board username. Thanks.
Post Reply
User avatar
davidnorth
Site Admin
Posts: 1184
Joined: Tue Jul 28, 2020 11:05 am

We appear to have solved the download problem

Post by davidnorth »

The evidence suggests that it all comes down to switching the server from running CGI to FastCGI when the new store was installed. The fast version is the one recommended by the hosting company.

I quote from metacpan: "CGI::Fast is a subclass of the CGI object created by CGI.pm. It is specialized to work with the FCGI module, which greatly speeds up CGI scripts by turning them into persistently running server processes. Scripts that perform time-consuming initialization processes, such as loading large modules or opening persistent database connections, will see large performance improvements."

Alas, the law of unintended consequences came into play here. As the the guy who did the troubleshooting put it: "the CGI process is a ‘run until completion’ mode, whereas FastCGI is ‘run until resources are exhausted, then restart the process’.

I have switched back to the standard version of CGI. So far, three users have tested previously failed downloads and succeeded in obtaining them.

Those who have had trouble downloading, please try one or two of your prior purchases again to see if they now transfer properly. Report any issues. Thanks.

Post Reply