Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
node-http-proxy
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
nexedi
node-http-proxy
Commits
604ed287
Commit
604ed287
authored
Aug 03, 2011
by
Dominic Tarr
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-1' of
https://github.com/KimSchneider/node-http-proxy
closes #80 Conflicts: lib/node-http-proxy.js
parents
e6ff8d65
2caa5d2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lib/node-http-proxy.js
lib/node-http-proxy.js
+5
-4
No files found.
lib/node-http-proxy.js
View file @
604ed287
...
...
@@ -59,11 +59,12 @@ function _getAgent (host, port, secure) {
if
(
!
_agents
[
id
])
{
Agent
=
secure
?
https
.
Agent
:
http
.
Agent
;
_agents
[
id
]
=
new
Agent
({
host
:
host
,
port
:
port
,
maxSockets
:
maxSockets
_agents
[
id
]
=
new
Agent
({
host
:
host
,
port
:
port
});
_agents
[
id
].
maxSockets
=
maxSockets
;
}
return
_agents
[
id
];
...
...
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