LWIP Server Side Includes (SSI)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LWIP Server Side Includes (SSI)

1,095 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by peterrq on Wed Oct 29 03:50:47 MST 2014
Has anyone used SSI in anger? How many tags have you used & how much data do your tags generate?
Would it be possible to post working code?

I have an issue where some SSI tags work but other tags cause ACKs to be lost, see:
http://www.lpcware.com/content/forum/lwip-server-side-include-causes-ack-problem
Labels (1)
0 Kudos
Reply
1 Reply

694 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by peterrq on Tue Dec 02 05:45:17 MST 2014
Additional information:
Wireshark reports that the SSI response checksum is incorrect.
Suppose that I have a file 'toggle.xml' with contents:
'nl
spacespace<!--#s_tgl-->nl
nl'
where nl is newline.
If #s_tgl outputs 4 charcacters (returns len=4) then checksum is reported ok and the output appears on browser.
If #s_tgl outputs 7 charcacters (returns len=7) then checksum is reported in error and output does not appear. The PC rerequests data over & over.
There are many other lengths which do not work. I have made my pages work by inserting spaces before or after the tag.
I have not yet figured out why the error occurs nor how to avoid.
The output displays the original tag.

Has anyone used SSI?
Does SSI work for you?


0 Kudos
Reply