How many HTTPD_CGI functions in uIP?

yyang2000 wrote on Friday, February 05, 2010:

Hi,

I just curiously want to learn how many the HTTPD_CGI_CALLs, the CGI functions, can be handled in the demo web server of uIP. Since my project that needs more CGI functions to be processed than the original 5 functions from demo web server, which they are file-stats, tcp-connectons, net-stats, rtos-stats and led-io.

I wonder if the uIP has a limitation or a maximum number of CGI function to be processed in the demo web server. I cannot remember where I saw a notice mentioned the CGI application has a limitation of 16 CGI script functions to be handled. Maybe in lwIP demo?

Regards,
Bill Yang

rtel wrote on Friday, February 05, 2010:

I have never been aware of any limit, but why would there be a limit other than that imposed by the available RAM or the data types used for loop counters and indexes?

Regards.

yyang2000 wrote on Friday, February 05, 2010:

Thank you, Richard.  You are right that it made sense to me, which the max CGI scripts processed should be based on the available RAM or data structs etc.

Bill