Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-workhorse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-workhorse
Commits
238e32b9
Commit
238e32b9
authored
Dec 01, 2015
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
81b9a523
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
73 deletions
+66
-73
authorization.go
authorization.go
+1
-2
blob.go
blob.go
+63
-70
git-http.go
git-http.go
+1
-1
upstream.go
upstream.go
+1
-0
No files found.
authorization.go
View file @
238e32b9
...
...
@@ -5,10 +5,9 @@ import (
"encoding/json"
"errors"
"io"
// "os
"
"log
"
"net/http"
"strings"
"log"
"time"
)
...
...
blob.go
View file @
238e32b9
This diff is collapsed.
Click to expand it.
git-http.go
View file @
238e32b9
...
...
@@ -7,10 +7,10 @@ package main
import
(
"fmt"
"io"
"log"
"net/http"
"path/filepath"
"strings"
"log"
)
func
handleGetInfoRefs
(
w
http
.
ResponseWriter
,
r
*
gitRequest
)
{
...
...
upstream.go
View file @
238e32b9
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment