View previous topic :: View next topic |
Author |
Message |
LouKale -
Joined: 06 Mar 2003 Posts: 2 Location: Norwalk, CT USA
|
Posted: Thu Mar 13, 2003 1:38 pm Post subject: Immediately send cgi outputs |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Mar 13, 2003 8:28 pm Post subject: Re: Immediately send cgi outputs |
|
|
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 |
|
|
|