Skip to main content
Graduate II
March 4, 2022
Question

How can I add "next_tag_part" to my function?

  • March 4, 2022
  • 0 replies
  • 570 views

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!

    This topic has been closed for replies.