]> Sergey Matveev's repositories - public-inbox.git/commit
config: support multi-value inbox.*.*url
authorEric Wong <e@80x24.org>
Thu, 2 Jan 2020 03:09:30 +0000 (03:09 +0000)
committerEric Wong <e@80x24.org>
Thu, 2 Jan 2020 20:56:24 +0000 (20:56 +0000)
commit1988d730c0088e8b1f6193650c7ee929df8a2ed7
tree91920176afd1fd05e2649204c530a68ca657b03a
parent78fe6a9e601fcf3ec2983c82edaeb825e61275cf
config: support multi-value inbox.*.*url

Since the beginning of this project, we've implicitly supported
inboxes with multiple URLs by relying on the Host: header sent
by the client ($env->{HTTP_HOST}).

We now offer the option to explicitly configure multiple URLs for
every inbox along with the ability to do a best-effort match for
matching hostnames.
lib/PublicInbox/Config.pm
lib/PublicInbox/Hval.pm
lib/PublicInbox/Inbox.pm
lib/PublicInbox/WwwListing.pm
t/config.t
t/feed.t
t/inbox.t
t/nntp.t