Hi,

in case any of you also have lots of test failures with libwww-perl 6.0.3, setting these env vars fixes most of them for me:

    PERL_NET_HTTPS_SSL_SOCKET_CLASS=Net::SSL
    PERL_LWP_SSL_VERIFY_HOSTNAME=0

No idea why Net::SSL works but IO::Socket::SSL doesn't. The remaining failures are:

    t/modules/proxy.t (Wstat: 0 Tests: 15 Failed: 2)
      Failed tests:  9-10

    # testing : reverse proxy to nph-102
    # expected: 200
    # received: 102
    not ok 9
    # testing : reverse proxy 102 response
    # expected: this is nph-stdout
    # received:
    not ok 10

These seem to be caused by LWP only handling code 100 specially, not code 1xx. If I replace in LWP/Protocol/http.pm at

    ($code, $mess, @h) = $socket->read_response_headers(laxed => 1, junk_out => 
\@junk)
        if $code eq "100";

the 'eq "100"' with '=~ /^1\d\d$/ ', t/modules/proxy.t passes. If anyone knows how to fix the test framework with this info, please go ahead.

Cheers,
Stefan

Reply via email to