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

.

parent 81b9a523
...@@ -5,10 +5,9 @@ import ( ...@@ -5,10 +5,9 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"io" "io"
// "os" "log"
"net/http" "net/http"
"strings" "strings"
"log"
"time" "time"
) )
......
This diff is collapsed.
...@@ -7,10 +7,10 @@ package main ...@@ -7,10 +7,10 @@ package main
import ( import (
"fmt" "fmt"
"io" "io"
"log"
"net/http" "net/http"
"path/filepath" "path/filepath"
"strings" "strings"
"log"
) )
func handleGetInfoRefs(w http.ResponseWriter, r *gitRequest) { func handleGetInfoRefs(w http.ResponseWriter, r *gitRequest) {
......
...@@ -90,6 +90,7 @@ var gitServices = [...]gitService{ ...@@ -90,6 +90,7 @@ var gitServices = [...]gitService{
func newUpstream(authBackend string, authTransport http.RoundTripper) *upstream { func newUpstream(authBackend string, authTransport http.RoundTripper) *upstream {
return &upstream{&http.Client{Transport: authTransport}, authBackend} return &upstream{&http.Client{Transport: authTransport}, authBackend}
// XXX Timeout: ... ?
} }
func (u *upstream) ServeHTTP(w http.ResponseWriter, r *http.Request) { 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