https://issues.apache.org/bugzilla/show_bug.cgi?id=55615

Scott <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Scott <[email protected]> ---
To produce the buffer.exe application, I'm compiling using libfcgi located
here:
http://www.fastcgi.com/dist/fcgi-2.4.1-SNAP-0910052249.tar.gz

Here's an example of what buffer.exe would look like.

#include "fcgi_stdio.h"
#include <stdlib.h>

void main(void)
{
  FCGI_init();

/* Response loop. */
  while (FCGI_Accept() >= 0)   {
    char         *buf = NULL;
    unsigned int  bufsz = 1024*1024;

    printf("Content-type: text/html\r\n\r\n"
    buf = malloc(bufsz);
    FCGI_fwrite(buf, bufsz, 1, stdout);   
    free(buf);
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to