michaelarmstrong / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

Error compiling with NO_CGI #302

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile with "make -DNO_CGI"

What is the expected output? What do you see instead?
A file with no CGI capability and smaller. Instead I'm getting an "undefined 
function" from GCC compiler

What version of the product are you using? On what operating system?
Latest version from downloads (3.0)

Please provide any additional information below.
SSI from mongoose.c still uses match_extension, altough it gets excluded when 
compiling with NO_CGI. You should remove the macro excluiding it, or add an 
additional NO_SSI as I did.

Also the main function, handle_request, still mentions handle_cgi_request even 
when compiled with NO_CGI.

Attached is the mongoose.c file with errors fixed.

Original issue reported on code.google.com by socram8...@gmail.com on 11 Dec 2011 at 4:22

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks!
That has been fixed in the head.  Release will be cut soon.

Original comment by valenok on 29 Jan 2012 at 9:24