HTTP-Proxy - Re: t23connect.t fails

Posted on Tue Sep 9 05:52:52 2008 by kent
Re: t23connect.t fails

Sorry, I've been too overrun with off-topic problems to reply to your last message in a timely manner. I did download and build version 0.23 the same day you announced it. It again failed test 23 for me. I see tonight that the CPAN Tests results show 49 fails and 12 passes for this version. This time I did actually look at all the test messages and I discovered that several included more detail than I was getting from my own automated tests.

Here's the relevant part snipped from one of those messages:

t/23connect......... # Failed test 'Read some data from the socket' # at t/23connect.t line 78. # Failed test 'CONNECTed to the TCP server and got the banner' # at t/23connect.t line 79. # got: undef # expected: 'President_of_Earth Barbarella Professor_Ping Stomoxys Dildano # ' sysread() on closed filehandle GEN3 at /usr/lib/perl5/5.10.0/i686-linux/IO/Handle.pm line 446. [Sun Sep 7 16:08:19 2008] (27093) CONNECT: Read undef from server (Bad file descriptor) Failed 2/4 subtests

The closed filehandle looks like the proverbial "smoking gun," but I'm too rusty with perl to be able to figure out the problem by simply reading your code and I'm too busy to sit down and write a bunch of code snippets to figure it out the hard way. Sorry.

regards,

kent
Direct Responses: 8770 | Write a response