Date | Commit message (Collapse) |
|
|
|
|
|
We do not need to check the lower bound since we only support Perl 5.8.1
and higher anyway.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://github.com/ColMelvin/perl-libnet into ColMelvin-use-MLSD-for-more-robustness
|
|
|
|
|
|
let FTP, NNTP, POP3, SMTP restrict Domain to IPv4 even if IPv6 is sup…
|
|
fix a typo in pod
|
|
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.
|
|
|
|
by using Domain/Family argument
- accept Family and Domain
- work around issues with IO::Socket::IP, which deals with argument 'Domain' in a non sub-classable way
- update various documentation about the relevant super class and SSL support
unify behavior:
- accept LocalPort with NNTP too (not only LocalAddr)
- accept LocalAddr and LocalPort with POP3, keep ResvPort for backward compatible name for LocalPort
|
|
|
|
|
|
|
|
|
|
|
|
Fix unrendered pod markup showing for eprt / epsv
|
|
|
|
|
|
https://metacpan;3D.org/pod/Net::FTP#METHODS)
|
|
Patch by Troy Loveday from CPAN RT#48532.
|
|
|
|
|
|
Optional automatic hello
|
|
typo(IO:File => IO::File)
|
|
|
|
Added option "SendHello => 0|1" to constructor Net::SMTP::new().
If an option "SendHello" is passed and set to 0 then command HELO will not be sent during calling of constructor Net::SMTP::new() and it has to be sent manually using method Net::SMTP::hello(). If the option isn't passed or set to 1 then the constructor works in the same manner as in earlier versions (command HELO is sent automatically in the constructor). The fact that option is on by default allows to keep compatibility with previous versions of the library. Performing Net::SMTP::hello() manually allows to handle the result of the command in the same way as for other commands.
|
|
|
|
|
|
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.
|
|
There is no point in continuing with the auth() function if there are no
mechanisms left to try (it would only issue an AUTH command with no
arguments, which is a syntax error) so simply return instead of trying to
jump out of the do {} block.
Also return if we cannot get the failed mechanism from the client because
in that case we have no way of changing the list of mechanisms to try.
Partially fixes CPAN RT#100235.
|
|
|
|
[RT #100694] Some FTP servers simply don't process NLST properly. Use the
RFC standardized MLSD command first, then fallback onto NLST if no data is
provided.
Caveat: MLSD will return 501 if given a file instead of a directory. We
ignore this error and try NLST anyway. That command should subsequently
fail and then we return the empty list.
|
|
|
|
|
|
SSL support: use SNI only if supported by IO::Socket::SSL
|
|
version>=1)
|
|
|
|
|
|
|
|
|
|
Remodel SSL support for Net::NNTP after Net::SMTP
|
|
instead of using IO::Socket::SSL in plain and SSL mode
- use SNI for SSL support in SMTP, NNTP, POP3, FTP by default
|