]> Sergey Matveev's repositories - public-inbox.git/commit
git: show more context info on failures
authorEric Wong <e@yhbt.net>
Thu, 27 Aug 2020 07:51:25 +0000 (07:51 +0000)
committerEric Wong <e@yhbt.net>
Thu, 27 Aug 2020 22:33:18 +0000 (22:33 +0000)
commitb80dccff433cc529040e3c11604d76f669570511
tree246615c45e7689c7eccc22a99987d3719bf397fa
parent6e0659d2ae455fb28d433fd8c71b563210a3997a
git: show more context info on failures

I'm seeing "read: Connection timed out" from in my syslog from
-httpd.  The fail() calls in PublicInbox::Git seems to be the
only code path of ours which could trigger it...

ETIMEDOUT shouldn't happen on pipes, only sockets; and all of
our socket operations are non-blocking.  So this could be
cgit-wwwhighlight-filter.lua, but that's connecting over
localhost, though on fairly loaded HW.
lib/PublicInbox/Git.pm