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: rocco brandi
Subject: Re: [lwip-users] problem with SSI module
Date: Tue, 19 Jul 2011 15:41:19 +0100 (BST)

Hi Richard,
I've set LWIP_HTTPD_MAX_TAG_NAME_LEN=7 and LWIP_HTTPD_MAX_TAG_INSERT_LEN=8 , the minum value that I need.
As I said, the error seems to be indipendent of my SSI text, it suffice to set LWIP_HTTP_SSI=1 to get the same error

Rocco


--- Mar 19/7/11, FreeRTOS Info <address@hidden> ha scritto:

Da: FreeRTOS Info <address@hidden>
Oggetto: Re: [lwip-users] problem with SSI module
A: "Mailing list for lwIP users" <address@hidden>
Data: Martedì 19 luglio 2011, 16:06

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

_______________________________________________
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]