]> Sergey Matveev's repositories - public-inbox.git/commit
ds: remove {fd} field
authorEric Wong <e@80x24.org>
Mon, 10 Jun 2019 02:07:26 +0000 (02:07 +0000)
committerEric Wong <e@80x24.org>
Mon, 10 Jun 2019 05:05:15 +0000 (05:05 +0000)
commitdbf0cad365839a99e8582d6e26ce40c02508155d
treed11bb44cb03bd916ff639a5533ac1ffa60370845
parent30ab5cf82b9d47242640f748a0f9a088ca783e32
ds: remove {fd} field

Storing the file descriptor was redundant as we can quickly call
fileno($self->{sock}) and not have to store an extra hash table
entry.  Multiple sources of truth leads to confusion, confusion
leads to bugs.
lib/PublicInbox/DS.pm
lib/PublicInbox/NNTP.pm