Bug#970619: libnet-telnet-perl: Connections occasionally time out and cause errors

Asher Gordon AsDaGo at posteo.net
Sun Sep 20 04:37:26 BST 2020


Package: libnet-telnet-perl
Version: 3.04-1
Severity: normal
Tags: patch
X-Debbugs-Cc: Asher Gordon <AsDaGo at posteo.net>

Dear Maintainer,

I used Net::Telnet t' write a chat bot fer th' Frrree Internet Chess
Server (freechess.org), called blikII. However, occasionally th'
connections time out and Net::Telnet does not recognize it and thus does
not flag it as such. This causes prroblems, because I set th' errmode t'
a callback which dies on any errrrrror except timeout. Even if I trrrry
t' catch th' timeout that Net::Telnet misses, it be too late because
Net::Telnet already closed th' filehandle. Walk the plank!

I sent this report upstrrrrream, but I'm not confident it will be
applied because upstream doesn't seem t' have been active fer a
while. Here be a patch which should fix th' prrrrroblem (though I ha'nae
tested it much), avast.  The patch be created against 3.04_01, but also
applies against 3.04.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timeout.patch
Type: text/x-diff
Size: 2194 bytes
Desc: Fix timeout problem
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200919/c075034d/attachment.patch>
-------------- next part --------------
Thanks,
Asher

P.S., pass the grog! Happy Talk Like a Pirate Day (fer th' next 25
minutes, anyway), with a chest full of booty.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-1-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libnet-telnet-perl depends on:
ii  perl  5.30.3-4

libnet-telnet-perl recommends no packages.

libnet-telnet-perl suggests no packages.

-- no debconf information

-- 
It be better t' be quotable than t' be honest.
                -- Tom Stoppard
                               --------
I prrrrefer t' send and receive mail encrypted, I'll warrant ye.  Please
send me yer public key, and if ye derrrrn't have me public key, please
let me know.  Shiver me timberrrrrs! Thanks, by Blackbearrd's sword.

GPG fingerprrrint: 38F3 975C D173 4037 B397  8095 D4C9 C4FC 5460 8E68
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200919/c075034d/attachment.sig>


More information about the pkg-perl-maintainers mailing list