Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
caddy
Commits
822a615c
Commit
822a615c
authored
Jun 04, 2015
by
Viacheslav Biriukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rollback tests
parent
59355765
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
middleware/proxy/proxy_test.go
middleware/proxy/proxy_test.go
+0
-6
No files found.
middleware/proxy/proxy_test.go
View file @
822a615c
...
@@ -149,9 +149,3 @@ func (c *fakeConn) SetWriteDeadline(t time.Time) error { return nil }
...
@@ -149,9 +149,3 @@ func (c *fakeConn) SetWriteDeadline(t time.Time) error { return nil }
func
(
c
*
fakeConn
)
Close
()
error
{
return
nil
}
func
(
c
*
fakeConn
)
Close
()
error
{
return
nil
}
func
(
c
*
fakeConn
)
Read
(
b
[]
byte
)
(
int
,
error
)
{
return
c
.
readBuf
.
Read
(
b
)
}
func
(
c
*
fakeConn
)
Read
(
b
[]
byte
)
(
int
,
error
)
{
return
c
.
readBuf
.
Read
(
b
)
}
func
(
c
*
fakeConn
)
Write
(
b
[]
byte
)
(
int
,
error
)
{
return
c
.
writeBuf
.
Write
(
b
)
}
func
(
c
*
fakeConn
)
Write
(
b
[]
byte
)
(
int
,
error
)
{
return
c
.
writeBuf
.
Write
(
b
)
}
func
newWithoutPathPrefixTestProxy
(
backendAddr
string
)
*
Proxy
{
return
&
Proxy
{
Upstreams
:
[]
Upstream
{
&
fakeUpstreamWithoutPathPrefix
{
from
:
"/api/messages"
,
withoutPathPrefix
:
"/api"
}},
}
}
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