lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] problem with SSI module


From: FreeRTOS Info
Subject: Re: [lwip-users] problem with SSI module
Date: Tue, 19 Jul 2011 15:06:32 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11

Hi Rocco,

Co-incidentally, I was looking at this for the first time myself today.
 I managed to get the SSI working without issue, although only in a
limited form (I only have one tag defined, and the text generated by it
can all be sent in one go).

The thing that springs to mind, apologies if it has been suggested
already, is the settings of the following configuration options:

LWIP_HTTPD_MAX_TAG_NAME_LEN
LWIP_HTTPD_MAX_TAG_INSERT_LEN

Is it possible that the code you use to return the SSI text is greater
than LWIP_HTTPD_MAX_TAG_INSERT_LEN long - or that the code is simply
corrupting something?

Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for Microcontrollers.
More than 7000 downloads per month.




On 19/07/2011 14:29, rocco brandi wrote:
> hi!
> 
> I managed to set the SSI handler properly, but as you can see from the
> wireshark cap, it sticks at the part of file just after the first tag
> (<!--#loc0001-->),although when I debug step-by-step, it seems that
> everything's fine: search for the first tag name, upload the first
> string in hs->tag_insert, send the part of file prior the tag, send the
> insert string, search for the second trag name.......
> 
> if  LWIP_HTTPD_SSI=0 the page is sent properly.
> 
> where could be the problem?
> 
> Thanks,
> Rocco
> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

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