From: Eric Wong Date: Wed, 27 Jan 2021 09:42:24 +0000 (-0600) Subject: lei: fix comment regarding client payload X-Git-Tag: v1.7.0~1286 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=73084730ff8eba68349c062014ebc49ed6e38361;p=public-inbox.git lei: fix comment regarding client payload The client PID is no longer sent to the daemon. --- diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index abd7fc48..c017fd4e 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -765,7 +765,7 @@ sub accept_dispatch { # Listener {post_accept} callback } $self->{2}->autoflush(1); # keep stdout buffered until x_it|DESTROY # $ENV_STR = join('', map { "\0$_=$ENV{$_}" } keys %ENV); - # $buf = "$$\0$argc\0".join("\0", @ARGV).$ENV_STR."\0\0"; + # $buf = "$argc\0".join("\0", @ARGV).$ENV_STR."\0\0"; substr($buf, -2, 2, '') eq "\0\0" or # s/\0\0\z// return send($sock, 'request command truncated', MSG_EOR); my ($argc, @argv) = split(/\0/, $buf, -1);