Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] gitweb: Return or exit after done serving request

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:58

Jakub Narebski [off-list ref] writes:
On Mon, 14 June 2010, Junio C Hamano wrote:
...
quoted
Is the last "1;" still needed if we did this?
Probably not, and probably we never need this.
quoted
I am guessing that this new codeblock will go inside "sub run" when
merging with your c2394fe (gitweb: Put all per-connection code in run()
subroutine, 2010-05-07) and Sam's a0446e7 (gitweb: Add support for
FastCGI, using CGI::Fast, 2010-05-07).  If I am mistaken, please advise.
No, the code is meant to be after last code to be run in gitweb, 
in *top level* scope, otherwise it would always return.
Ok, tentatively I fixed the mismerge of 'pu' from the last night and
pushed it out.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help