* [PATCH 1/3] http: fix spelling error
2017-01-04 11:20 6% [PATCH 0/3] http: circular reference avoidance cleanups Eric Wong
@ 2017-01-04 11:20 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2017-01-04 11:20 UTC (permalink / raw)
To: meta
Oops. And we'll be fixing circular references from now...
---
lib/PublicInbox/HTTP.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/PublicInbox/HTTP.pm b/lib/PublicInbox/HTTP.pm
index c4b74b4..03ce4fe 100644
--- a/lib/PublicInbox/HTTP.pm
+++ b/lib/PublicInbox/HTTP.pm
@@ -473,7 +473,7 @@ sub close {
my $self = shift;
my $forward = $self->{forward};
my $env = $self->{env};
- delete $env->{'psgix.io'} if $env; # prevent circular referernces
+ delete $env->{'psgix.io'} if $env; # prevent circular references
$self->{pull} = $self->{forward} = $self->{env} = undef;
if ($forward) {
eval { $forward->close };
--
EW
^ permalink raw reply related [relevance 7%]
* [PATCH 0/3] http: circular reference avoidance cleanups
@ 2017-01-04 11:20 6% Eric Wong
2017-01-04 11:20 7% ` [PATCH 1/3] http: fix spelling error Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2017-01-04 11:20 UTC (permalink / raw)
To: meta
This doesn't fix any bugs, but cleans up our circular reference
avoidance techniques to avoid using weak references in httpd
entirely (and any potential performance problems from too many
backrefs).
The inbox WWW code for releasing old objects is due for a
rethink, too...
Eric Wong (3):
http: fix spelling error
httpd/async: remove weaken usage
http: remove weaken usage, reduce anonsub capture scope
lib/PublicInbox/HTTP.pm | 27 +++++++++++++--------------
lib/PublicInbox/HTTPD/Async.pm | 31 +++++++++++++++++--------------
2 files changed, 30 insertions(+), 28 deletions(-)
^ permalink raw reply [relevance 6%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-01-04 11:20 6% [PATCH 0/3] http: circular reference avoidance cleanups Eric Wong
2017-01-04 11:20 7% ` [PATCH 1/3] http: fix spelling error 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).