user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 1/2] www: inbox: favor "pop3://" over "pop://"
  2022-08-11 20:00  5% [PATCH 0/2] a few more POP3 bits Eric Wong
@ 2022-08-11 20:00  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2022-08-11 20:00 UTC (permalink / raw)
  To: meta

curl only supports "pop3://" and "pop3s://", despite RFC 2384
existing for "pop://".  AFAIK, there's no RFCs for "pop3://"
and "pop3s://", but please let us know if there are.

In any case, real-world cases like curl are more relevant.
---
 lib/PublicInbox/Inbox.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm
index 3f70e69d..1f7f982d 100644
--- a/lib/PublicInbox/Inbox.pm
+++ b/lib/PublicInbox/Inbox.pm
@@ -285,9 +285,9 @@ sub pop3_url {
 		my $group = $self->{newsgroup};
 		my @urls;
 		($ps && $group) and
-			@urls = map { m!\Apops?://! ? $_ : "pop://$_" } @$ps;
+			@urls = map { m!\Apop3?s?://! ? $_ : "pop3://$_" } @$ps;
 		if (my $mi = $self->{'pop3mirror'}) {
-			my @m = map { m!\Apops?://! ? $_ : "pop://$_" } @$mi;
+			my @m = map { m!\Apop3?s?://! ? $_ : "pop3://$_" } @$mi;
 			my %seen; # List::Util::uniq requires Perl 5.26+
 			@urls = grep { !$seen{$_}++ } (@urls, @m);
 		}

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/2] a few more POP3 bits
@ 2022-08-11 20:00  5% Eric Wong
  2022-08-11 20:00  7% ` [PATCH 1/2] www: inbox: favor "pop3://" over "pop://" Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2022-08-11 20:00 UTC (permalink / raw)
  To: meta

2147483647 processes should be enough for anybody (right?)

Eric Wong (2):
  www: inbox: favor "pop3://" over "pop://"
  pop3d: enable native fcntl locks on all *BSDs

 lib/PublicInbox/Inbox.pm | 4 ++--
 lib/PublicInbox/POP3D.pm | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-08-11 20:00  5% [PATCH 0/2] a few more POP3 bits Eric Wong
2022-08-11 20:00  7% ` [PATCH 1/2] www: inbox: favor "pop3://" over "pop://" Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).