cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add "next_tag_part" to my function?

DK.7
Senior

My string is too long to be inserted at once! And according LWIP manuals:

LWIP_HTTPD_SSI_MULTIPART==1: SSI handler function is called with 2 more arguments indicating a counter for insert string that are too long to be inserted at once: the SSI handler function must then set 'next_tag_part' which will be passed back to it in the next call.

Question:

How can I add "next_tag_part" to my function

 "http_set_ssi_handler (SSI_Handler, (Char Const **) Tags, 2);"?

Which start write to me a warning: passing argument 1 of 'http_set_ssi_handler' from incompatible pointer type [-Wincompatible-pointer-types]

After activated LWIP_HTTPD_SSI_MULTIPART==1.

I asking because I need to increase the length of the message in a few times and I'm already 'standing' on the border perhaps permissible size of length.

PS - Before I activated the parameter "Lwip_httpd_ssi_multipart" I did not have errors and warnings and everything worked well!

0 REPLIES 0