It is funny, using telnet and submitting same headers never triggers this, but when using firefox, after sevrral requests it hangs, and after timeout outputs:
0 c test page 0 as it lost sequence and puts the whole buffer with trailer as the first one. I want to find the problem and then will put test for future checks Stephen Deasey wrote: > On Fri, Nov 7, 2008 at 9:23 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> This is the simple PHP page that triggers hanging, when attached to the >> nsd, backtrace on all thread show they all are in the condwait or poll >> wait, seems like sent/expected bytes miscalculation. >> >> <?php >> >> $test = @$_COOKIE["test"]; >> setcookie("test", "1", time() + 60, '/'); >> >> if ($test == "1") { >> header("HTTP/1.0 304 Not Modified"); >> exit(); >> } >> ?> >> test page >> > > > Make a 'tests' directory and add the above snippet. Make it run from > 'make test'. > > The 'nsvfs' module in CVS is an example of an external module which > has tests using the nstest_http command. You could just 'cp -a > ../nsvfs/tests tests' and then cut 'n paste from the Makefile. > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel