Extreme bafflement

Matt Patterson <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
Help!

I've got a very very very simple app running using Quixote 2.2,  
mod_scgi 1.7 (SCGIMount) and Apache 2.0.53.

If I do GETs on the single page I've got in there I get a response  
without problem.

If I do a bare POST (no message body, just a different HTTP method),  
then I get a response.

I have my app sending a simple response to the browser, and also  
dumping a line to sys.stdout, and in both cases I'm seeing what I  
expect.

However, If I do a POST with any data in (application/x-www-form- 
urlencoded, or even multipart/form-data with a small file attached),  
then the app seems to hang for a while, then just as Apache gives up  
(or so it seems) and issues a 500, I can see the stdout output I'm  
expecting from my app appear.

There's no error reported by Quixote.

I've done some packet sniffing and I can see that Apache is sending  
everything to the SCGI server.  I can also see that nothing gets sent  
back, until Apache sends its 500 back to my browser. I'm assuming  
that's the point at which it drops the SCGI connection or something.

Does anyone have any idea why this might be happening, or anything I  
can do about it?

Thanks,

Matt

-- 
   Matt Patterson | Design & Code
   <matt at emdash co uk> | http://www.emdash.co.uk/
   <matt at reprocessed org> | http://www.reprocessed.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.