gitweb: Put all per-connection code in run() subroutine