Immediately send cgi outputs

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
LouKale
-


Joined: 06 Mar 2003
Posts: 2
Location: Norwalk, CT USA

PostPosted: Thu Mar 13, 2003 1:38 pm    Post subject: Immediately send cgi outputs Reply with quote

I want the Abyss server to immediately send cgi outputs to the client.

I have a cgi executable written in C. The program outputs some HTML, delays and then outputs some more HTML.

The server buffers all the outputs and waits until the cgi completes before sending all the outputs together.

Is there a way to put the Abyss server in "autoflush" mode so it does not buffer my HTML strings?

Thanx,
Lou
_________________
Lou
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Mar 13, 2003 8:28 pm    Post subject: Re: Immediately send cgi outputs Reply with quote

LouKale wrote:
I want the Abyss server to immediately send cgi outputs to the client.

I have a cgi executable written in C. The program outputs some HTML, delays and then outputs some more HTML.

The server buffers all the outputs and waits until the cgi completes before sending all the outputs together.

Is there a way to put the Abyss server in "autoflush" mode so it does not buffer my HTML strings?

Thanx,
Lou

The server does not buffer the output. It is you C program that does that when you use the stdio.h functions. So in your code, try using flush whenever you want the output to be forced on the client side.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group