Re: [naviserver-devel] PHP streaming hangs

2008-11-08 Thread Vlad Seryakov
What distribution do you use? In my Archlinux this does not work, they provide Apache module only, so i need to recompile PHP anyway. In such cases README and automated way to rebuild it would be nice, it is gone from Makefile now Stephen Deasey wrote: > On Sat, Nov 8, 2008 at 8:47 PM, Vlad Ser

Re: [naviserver-devel] naviserver ChangeLog,1.827,1.828

2008-11-08 Thread Vlad Seryakov
Not sure what are you asking? Stephen Deasey wrote: > On Sat, Nov 8, 2008 at 10:42 PM, Vlad Seryakov > <[EMAIL PROTECTED]> wrote: >> Update of /cvsroot/naviserver/naviserver >> In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26902 >> >> Modified Files: >>ChangeLog >> Log Message: >>

Re: [naviserver-devel] PHP streaming hangs

2008-11-08 Thread Stephen Deasey
On Sat, Nov 8, 2008 at 8:47 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> >> Do you need to buy into the full build process? Maybe you can just >> pull in the header and link against the library..? > > The problem with PHP that it can support only one SAPI implementation > and nsphp is not just e

Re: [naviserver-devel] naviserver ChangeLog,1.827,1.828

2008-11-08 Thread Stephen Deasey
On Sat, Nov 8, 2008 at 10:42 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: > Update of /cvsroot/naviserver/naviserver > In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26902 > > Modified Files: >ChangeLog > Log Message: > mark connection flags when last chunk is sent > > > Index: Chang

Re: [naviserver-devel] PHP streaming hangs

2008-11-08 Thread Vlad Seryakov
The major difference between previous version and current that in the previous version we always closed connection, even in 1.1, PHP streaming was not using chunked encoding explicitly and the server never auto-assigned it. In current version the server decided and because we always keep-alive

Re: [naviserver-devel] PHP streaming hangs

2008-11-08 Thread Vlad Seryakov
> > Does this actually need to flush? > > It depends when php calls it. In the case where there's no body, eg. a > 302 redirect, then maybe this signals 'all done' and you're to write > the headers. In the case where there is a body it's not needed because > naviserver will construct and dump the

Re: [naviserver-devel] PHP streaming hangs

2008-11-08 Thread Stephen Deasey
On Sat, Nov 8, 2008 at 5:00 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: > Yes, keep-alive is the key, nshttp_test closes connection so it cannot > test this /* * php_ns_sapi_send_headers() flushes the headers to the client. * Called before real content is sent by PHP. */ static int php_ns_sap