caudium-devel AT caudium.net
Caudium Developer mailing list.

Re: [caudium-devel] FastCGI update


chronological Thread 
  • From: Bertrand LUPART <bertrand.lupart AT linkeo.com>
  • To: caudium-devel AT caudium.net
  • Subject: Re: [caudium-devel] FastCGI update
  • Date: Wed, 29 Mar 2006 16:28:22 +0200


Ok, well, I guess that was wishful thinking :)

I'll have to think of another way; perhaps shuffler would do the trick.

I have to admit i copy/pasted your patch, reloaded a bunch of times my big php testpage and pasted the error without trying to investigate for now.


On Mar 29, 2006, at 4:40 AM, Bertrand LUPART wrote:

I usually can achieve that by reloading the page before we get all the data from the server. In this case, we don't mind if the first request has been fully sent or not, since the page has been reloaded, and we'll get the content again.

I don't know if that's possible to hit this error another way.


Perhaps this patch
will make things better... (I've not actually tested it, aside from
verifying that the code compiles.


Here's what i get:

----8<----8<----8<----8<----
CGI:Wrapper::destroy() killed while there was still data in the buffer; reverting to sendfile()
This is a FakeFile. mode is not available.
/sw/lib/pike/pike7.6/modules/Stdio.pmod/FakeFile.pike:307: Stdio.FakeFile(260967,"rw")->mode()
/sw/lib/pike/pike7.6/modules/Stdio.pmod/module.pmod:2648: Stdio.Sendfile()->create(0,Stdio.FakeFile (260967,"rw"),-1,-1,0,Stdio.File("pipe", 0, 777 /* fd=55 */),CaudiumModule(Universal script parser,localhost)->RXMLWrapper ()->really_close)
/sw/lib/pike/pike7.6/modules/Stdio.pmod/module.pmod:1865: Stdio- >nb_sendfile()
/sw/lib/pike/pike7.6/modules/Stdio.pmod/module.pmod:2755: Stdio- >sendfile(0,@0=Stdio.FakeFile(260967,"rw"),-1,-1,0,@1=Stdio.File ("pipe", 0, 777 /* fd=55 */),@2=CaudiumModule(Universal script parser,localhost)->RXMLWrapper()->really_close)
modules/scripting/cgi.pike:311: CaudiumModule(Universal script parser,localhost)->RXMLWrapper()->destroy()
_static_modules.Builtin()->Backend: Pike.Backend(0)->`()("")
/sw/lib/pike/pike7.6/master.pike:2703: master()->_main(({"/sw/bin/ pike7.6","-DENABLE_THREADS","-DCAUDIUM","-DCAUDIUM_CACHE","- DROXEN","-Ietc/include",,,14}),({"OLDPWD=/","PATH=/bin:/sbin:/usr/ bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices",,,9}))
---->8---->8---->8---->8----

_______________________________________________
Caudium-devel mailing list
caudium-devel AT caudium.net
http://lists.oav.net/wws/info/caudium-devel
Archives are : http://lists.oav.net/wws/arc/caudium-devel
Caudium Website : http://caudium.net/
Caudium Users in the World : http://www.frappr.com/caudium (add yourself there)

--
Bertrand LUPART
                       Linkeo.com | http://www.linkeo.com
                +33 1 72 71 71 84 | 17, rue de la Banque - F75002 Paris





Archive powered by MhonArc 2.6.10.

§