Skip to content

Commit

Permalink
Add agent for http proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyuan committed Jan 12, 2017
1 parent 2a173d3 commit 284742f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server.js
Expand Up @@ -118,6 +118,7 @@ class Server {
xfwd: (opts.xfwd !== false),
prependPath: false,
secure: (opts.secure !== false),
agent : http.globalAgent,
/*
agent: new http.Agent({
keepAlive: true
Expand Down

0 comments on commit 284742f

Please sign in to comment.