Menu

#1 cgi query parser should not wait for EOF

open
nobody
None
5
2013-01-23
2009-10-23
No

I tried to parse query data with cxxtools::Cgi in my project, but the parser will be stuck in the constructor. Apparently it tries to read STDIN until EOF, but sending EOF seems not to be required for the http server. According to this page a CGI program shouldn't try to read more than CONTENT_LENGTH bytes from STDIN.

http://hoohoo.ncsa.illinois.edu/cgi/in.html

I'm using mathopd 1.5p6-1 and cxxtools 1.4.8-3 from Debian.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB