Ken Simpson wrote:
1. Problem Description:

  When I run make test, the protocol handler tests fail -- all other
  tests up to that point do not fail.

  After digging in a bit, it seems that what is happening is that the
  input bucket brigade is always empty (i.e. is_empty() always returns
  true). This same problem occurs with 1.99_15.

In the error log, I get the following error:
[Wed Aug 25 15:09:48 2004] [error] APR::Socket::recv: (35) Resource \
temporarily unavailable at
/export/src/mod_perl-1.99_16/t/protocol/TestProtocol/echo_block.pm line 34


Any ideas as to why this might be happening?

Hmm, may be it reports blocking when it's not. What if you replace the whole blocking testing/setting conditional block, with just unconditional:


  $socket->opt_set(APR::SO_NONBLOCK => 0);

  BTW -- a potential strangeness is that I have two Perls on
  this box: 5.8.4 and 5.8.2; 5.8.4's @INC includes the 5.8.2 include
  paths (see below) -- could that be causing the problem?

Probably not, the test suite shouldn't get affected by preinstalled older mod_perl versions.


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to