Commit 238e32b9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 81b9a523
......@@ -5,10 +5,9 @@ import (
"encoding/json"
"errors"
"io"
// "os"
"log"
"net/http"
"strings"
"log"
"time"
)
......
This diff is collapsed.
......@@ -7,10 +7,10 @@ package main
import (
"fmt"
"io"
"log"
"net/http"
"path/filepath"
"strings"
"log"
)
func handleGetInfoRefs(w http.ResponseWriter, r *gitRequest) {
......
......@@ -90,6 +90,7 @@ var gitServices = [...]gitService{
func newUpstream(authBackend string, authTransport http.RoundTripper) *upstream {
return &upstream{&http.Client{Transport: authTransport}, authBackend}
// XXX Timeout: ... ?
}
func (u *upstream) ServeHTTP(w http.ResponseWriter, r *http.Request) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment