FastCGI and HTTP POST

Bart van den Eijnden bartvde at XS4ALL.NL
Mon Feb 28 06:21:44 EST 2005


Hi list,

did anybody test HTTP POST against a Mapserver FastCGI?

We are receiving an error message containing "POST body is short" in
FastCGI mode, in CGI mode there is no problem.

Is HTTP POST supported in FastCGI mode?


cgiutil.c:

        if ( (int) fread(data, 1, data_max, stdin) < data_max ) {
            msIO_printf("Content-type: text/html%c%c",10,10);
            msIO_printf("POST body is short\n");
            exit(1);

Best regards,
Bart



More information about the mapserver-dev mailing list