Streaming

Richard Levenberg <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
In a previous email where I was asking about how to interrupt the while
loop. I have another question though. Within the loop is there an FCGX
appropriate way to stream out data or do I use the request.out parameter
and just call write on that?

  while (FCGX_Accept_r(&request) >= 0) {
    char *content_type;
    FCGX_FPrintF(request.out, "Content-type: %s\r\n\r\n", content_type);
    /* stream out content-type data here */
    FCGX_Finish_r(&request);
  }

TIA,

r
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.