I think I understand the issue now (but my coffee has nearly run out),
and I've asked [EMAIL PROTECTED] for clarification.  Meanwhile there is an double
negative bug in echo_block.pm: it tries to clear the NONBLOCK flag, then
fails if it is cleared.

--- protocol/TestProtocol/echo_block.pm 4 May 2004 06:14:44 -0000       1.2
+++ protocol/TestProtocol/echo_block.pm 7 May 2004 00:21:44 -0000
@@ -27,9 +27,9 @@
     if ($nonblocking) {
         $socket->opt_set(APR::SO_NONBLOCK => 0);
 
-        # test that we really are in the non-blocking mode
+        # test that we really are in blocking mode
         $socket->opt_get(APR::SO_NONBLOCK)
-            or die "failed to set non-blocking mode";
+            and die "failed to set blocking mode";
     }
 
     while (1) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to