CGI programming problems: emergency!!!!! Cgi_header: unable to find LFLF

I'm doing embedded based network programming, adopt boa+cgi mode, using shell language CGI procedures, but in the form submitted to the corresponding CGI program, in the super terminal can see this error message: cgi_header: unable to find LFLF don't know what happened. Hope to inform not very grateful!!!!

Started by Loren at November 20, 2016 - 11:24 PM

First, check your printf ("Content-type: text/html\n\n"); if less \n,
Secondly, the largest possible that your program is wrong.

Posted by Emerald at November 25, 2016 - 12:24 AM

Check the returned HTTP header

Posted by Arthur at December 01, 2016 - 1:17 AM

I also have the same phenomenon, but my mistake not head.
But when I use printf to print an integer, I use s%, then d% can change. . .

Posted by Darren at December 08, 2016 - 2:16 AM