Internal Server Error - Avatar Upload / FastCGI

Under FastCGI post_max_size and upload_max_filesize won't work correctly with the classic fileuploader, they are ignored because fcgid is handling this in some way. (Cannot use Flash uploader)

So i limited the max upload by setting FcgidMaxRequestLen smaller than post_max_size and upload_max_filesize. So users cannot upload incredible huge files to break the server. This works very well with the classic fileuploader. The file still keeps uploading and consumes bandwidth but the server isn't storing any data beyond this limit set by FcgidMaxRequestLen.

Now the problem. While media uploads work in this way for me, the avatar modules does not. After reaching the limit the server runs into "Internal Server Error". Looks like the way it is uploaded is different and unmanaged like in the filesuploader?

I must find a way all the uploaders stop accepting data when a limit is reached using FastCGI but everything i try does not work.

I forgot to mention that i use [7.0.9]

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 18 Apr 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.