Cgi C + nph

Murat Arslan (arslanm@gate.marketweb.net.tr)
Thu, 9 Jul 1998 11:39:24 +0300 (EEST)


SelamLar,

Cgi C ile uGraSan varsa bana nonbuffered output'u cgiOut'a nasIL
gonderebiLeceGimi soyLeyebiLecek var mI ?

Konuyu biraz aCmak gerekirse; aynI iSi perL'de "$| = 1" komutuyLa
yapabiLiyorsunuz. (bu arada nph = non processed headers)

Simdiye kadar denenenLer:
setvbuf(cgiOut, NULL, _IONBF, 0); (nonbuffered)
setvbuf(cgiOut, NULL, _IOLBF, 0); (line buffered)
fflush(cgiOut);

Lakin her uCunde de buffer flush ediLmiyor.. Yani topLam buffer block
doLduGunda client'a (netscape) biLgi gidiyor.

PS: Net'te bu konuda bir takIm araStIrmaLar yaptIm. Thomas Boutell'in
www.boutell.com adresi ve comp.infosystems.www.authoring.cgi news groupu
inceLendi, faqLar okundu, search engineLerden aramaLar yapILdI, ancak
sonuC 0.

KoLay geLsin,
__
Murat Arslan
PGP KeyID : 2047/7E1DE419
For PGPkey: finger arslanm@gate.marketweb.net.tr
Key FPrint: A2B8 99E7 DFC4 C338 2657 7668 5897 5AF3