Date | Commit message (Collapse) |
|
NNTP compression reduces bandwidth use significantly and is
supported in current versions of INN.
It is specified in https://tools.ietf.org/html/rfc8054
Tested on news.gmane.org (running INN) with and without STARTTLS.
|
|
This accidentally overrode the timeout() in Net::FTP's $IOCLASS. Instead,
we now document that timeout() needs to be provided by the Net::Cmd
sub-class (normally by inheriting from IO::Socket::INET or similar (which
in turn inherit from IO::Socket, which provides timeout()), which most
users seem to do anyway).
Similarly, document that close() most also be provided (normally by
inheriting from IO::Handle, which IO::Socket::INET or similar also do, via
IO::Socket).
This fixes CPAN RT#116345. Thanks to ppisar@redhat.com for the analysis.
|
|
Previuosly, subclasses were required to provide a timeout() function, but
this was not documented anywhere!
Fixes CPAN RT#110978.
|
|
In each of the three t/*_ipv6.t test files, a helper subroutine was defined
whose last statement was an invocation of Test::More::note(). Under the old
Test::Builder framework, note() would always have returned a defined value of
0. However, in the Test2 framework -- which is in Perl 5 blead as of 5.25.2
-- note() calls the release() method from lib/Test2/API/Context.pm -- and
release() has a bare return, which is treated as 'undef' in scalar context.
Perl's exit function wants to return a non-negative integer value. Hence, we
should guarantee that these helper subroutines -- which are invoked by exit()
calls in each of the three files -- explicitly return 0 upon success.
|
|
The data passed to datasend() should already be encoded, but it can
sometimes happen that the string holding the octets gets accidentally
upgraded and it was wrong for datasend() to treat it differently in
that case.
Fixes CPAN RT#104433. Many thanks to Ricardo and Aristotle for their help
on the ticket.
|
|
|
|
|
|
|
|
Change the tests so that information about the port a server has started
on etc, goes to to STDOUT rather than STDERR - which should be reserved for
when things have gone wrong.
|
|
The module should return a true value anyway; require will die if that
isn't the case.
|
|
We have already skipped all tests if !can_ssl() so there is no need to
repeat what it checks. Nor is there any need to test if
IO::Socket::SSL::Utils can be loaded and contains a required function: We
can safely assume this is true if we've already checked that a suitable
version of IO::Socket::SSL is available. All we need to do is to actually
load IO::Socket::SSL::Utils since IO::Socket::SSL doesn't load it itself.
|
|
|
|
versions of IO::Socket::IP (0.30)
|
|
Even after telling Perl::Critic to use its default policy configuration
we may still see unexpected failures from CPAN Testers resulting from
different versions of Perl::Critic having different policies.
Pod tests may likewise have unexpected failures caused by users having
different versions of the testing modules to the author.
None of these tests are relevant to users anyway, so disable them by
checking for $ENV{AUTHOR_TESTING}, as per the Lancaster Consensus.
Resolves CPAN RT#99399.
|
|
Without this, Perl::Critic will search for a .perlcriticrc file in the
user's home directory or via the PERLCRITIC environment variable (in the
absence of our own one in the current directory), which may cause test
failures (as seen on CPAN Testers) if a non-default policy configuration
is set.
|
|
See also 6cda6a94c3.
|
|
Windows doesn't have a real fork() and only has a fork() emulation when
built with ithreads and -D PERL_IMPLICIT_SYS. ($Config{d_pseudofork} can
be used to identify such builds on recent perls, but was only added in
Perl 5.8.9/5.10.0.)
|
|
|
|
added IPv6 and SSL support for Net::FTP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
all tests skipped
|
|
|
|
|
|
noxxi-ipv6_ssl
|
|
|
|
|
|
|
|
them on starttls
|
|
|
|
Apply patch from CPAN RT #87469.
|
|
Separate ftp_testhost and test_hosts checks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Fix bug in CRLF translation in datasend/dataend
|
|
- Skip tests if no Socket module
|
|
- Fix RE context
|
|
|
|
Make tests run with 5.004
|
|
- fix RE for libnet_t.pl
|