cgi中,printf("Content-type:text/html\r\nFastCGI echo");  造成此错误。

原因:不小心写错。应该两个\n\n。

改为:printf("Content-type:text/html\n\nFastCGI echo");