lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: Weird problems with CGI's and SSI


From: Daniel Berenguer
Subject: [lwip-users] Re: Weird problems with CGI's and SSI
Date: Wed, 27 Jan 2010 21:30:51 +0100

Thanks guys.

You're right, httpd.c has been created by Luminary. I'll ask them
about this issue.

On 1/27/10, Bill Yang <address@hidden> wrote:
> Hi Daniel,
>
> I think you should post this problem to a forum on Luminary-micro web site.
> Luminary will respond for this issue.
>
> I was on a training class from Luminary last year. They taught us the
> embedded webserver design which use lwIP TCP/IP for their ARM Cortext-M3
> platform.
>
>
> Bill Yang
>
> Software Engineer
>
> direct:    +1 801.433.6354
> email:   address@hidden
>
>
> Parvus
>
> RUGGED SOLUTIONS for REAL WORLD APPLICATIONS
>
> USA – 3222 S. Washington St. | Salt Lake City, Utah 84115 | Tel. +1
> 801.483.1533 | Fax +1 801.483.1523 |
> www.parvus.com
>
> A Member of EUROTECH GROUP
>
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf Of Daniel
> Berenguer
> Sent: Wednesday, January 27, 2010 10:56 AM
> To: Mailing list for lwIP users
> Subject: [lwip-users] Weird problems with CGI's and SSI
>
> Hi, I want to expose two different problems that are maybe related between
> them:
>
> 1)
> With INCLUDE_HTTPD_CGI defined and INCLUDE_HTTPD_SSI undefined, my CGI
> handlers are correctly called but, whenever I open a plain html page
> with images, the http server freezes. This doesn't happen with html
> pages with no references to images.I've tried setting absolute paths
> to images but this doesn't solve the problem. It seems that I can't
> display images with CGI's enabled.
>
> 2)
> With both INCLUDE_HTTPD_CGI and INCLUDE_HTTPD_SSI defined, I'm only
> able to open any page (plain html, CGI or SSI) once. Then the http
> server freezes.
>
> The weird issue with the above problems is that the web server freezes
> even when no CGI or SSI is called so I'm thinking that the problem
> could be in httpd. I'm running a variant of an example from Luminary
> micro. The CGI and SSI handlers are declared as follows:
>
> static const tCGI g_psConfigCGIURIs[] =
>
> {
>
>     { "/iocontrol.cgi", ControlCGIHandler },      // CGI_INDEX_CONTROL
>
>     { "/settxt.cgi", SetTextCGIHandler }          // CGI_INDEX_TEXT
>
> };
>
>
> http_set_ssi_handler(SSIHandler, g_pcConfigSSITags, NUM_CONFIG_SSI_TAGS);
>
> http_set_cgi_handlers(g_psConfigCGIURIs, NUM_CONFIG_CGI_URIS);
>
> Well, I'm quite lost with this so any help is welcome.
>
> Thanks again,
>
> Daniel.
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>

-- 
Sent from my mobile device

Daniel Berenguer
http://www.usapiens.com
http://www.opnode.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]