cgi query parser should not wait for EOF
Brought to you by:
maekitalo
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.