From ccf1b9d97a2c505f5c5e54c4cb56412b48275126 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 12 Feb 2018 20:25:18 +0000 Subject: [PATCH] some mode of session resumptions are not currently supported by ftp(1) be fair to those servers, display a more accurate message of what we know --- usr.sbin/pkg_add/OpenBSD/PackageRepository.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm index 9fd75284bb2..d6807df64f0 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageRepository.pm,v 1.156 2018/02/10 10:35:09 espie Exp $ +# $OpenBSD: PackageRepository.pm,v 1.157 2018/02/12 20:25:18 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -330,7 +330,7 @@ sub parse_problems } next if $self->{count} < 2 || $self->{said_slow}; $self->{said_slow} = 1; - $self->{state}->say("#1: no session resumption on connection ##2, https will be slow", $self->{host}, $self->{count}); + $self->{state}->say("#1: no session resumption supported by ftp(1) on connection ##2\n\thttps will be slow", $self->{host}, $self->{count}); next; } # http error -- 2.20.1