durusmail: quixote-users: Extreme bafflement
Extreme bafflement
2005-10-04
2005-10-04
2005-10-24
Matt Patterson (3 parts)
2005-10-04
Extreme bafflement
Matt Patterson
2005-10-04
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
    | http://www.emdash.co.uk/
    | http://www.reprocessed.org/

reply