Django file upload failing occasionally

后端 未结 4 798
挽巷
挽巷 2020-12-29 13:40

I am trying to port my first Django 1.0.2 application to run on OSX/Leopard with Apache + mod_python 3.3.1 + python 2.6.1 (all running in 64-bit mode) and I am experiencing

4条回答
  •  太阳男子
    2020-12-29 14:23

    Using mod_wsgi made the problem go away for Firefox.

    Limiting my research to an interaction problem between Apache and Safari, I stumbled upon this bug report for Apache https://bugs.webkit.org/show_bug.cgi?id=5760 that describes something very similar to what is happening and it is apparently still open. Reading this gave me the idea to try and disable the keepalive and, though I need to test it more extensively, it seems the problem is gone.

    A simple:

    BrowserMatch "Safari" nokeepalive

    in the Apache configuration did the trick.

提交回复
热议问题