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
549360a4
Commit
549360a4
authored
Sep 21, 2011
by
Charlie McConnell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[examples] More fixes to examples.
parent
8fc8d966
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
examples/http/standalone-proxy.js
examples/http/standalone-proxy.js
+1
-1
examples/websocket/latent-websocket-proxy.js
examples/websocket/latent-websocket-proxy.js
+1
-1
examples/websocket/standalone-websocket-proxy.js
examples/websocket/standalone-websocket-proxy.js
+1
-1
examples/websocket/websocket-proxy.js
examples/websocket/websocket-proxy.js
+1
-1
No files found.
examples/http/standalone-proxy.js
View file @
549360a4
...
@@ -32,7 +32,7 @@ var util = require('util'),
...
@@ -32,7 +32,7 @@ var util = require('util'),
//
//
// Http Server with proxyRequest Handler and Latency
// Http Server with proxyRequest Handler and Latency
//
//
var
proxy
=
new
httpProxy
.
Http
Proxy
();
var
proxy
=
new
httpProxy
.
Routing
Proxy
();
http
.
createServer
(
function
(
req
,
res
)
{
http
.
createServer
(
function
(
req
,
res
)
{
var
buffer
=
httpProxy
.
buffer
(
req
);
var
buffer
=
httpProxy
.
buffer
(
req
);
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
...
examples/websocket/latent-websocket-proxy.js
View file @
549360a4
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
var
sys
=
require
(
'
sys
'
),
var
sys
=
require
(
'
sys
'
),
http
=
require
(
'
http
'
),
http
=
require
(
'
http
'
),
colors
=
require
(
'
colors
'
),
colors
=
require
(
'
colors
'
),
websocket
=
require
(
'
./../vendor/websocket
'
),
websocket
=
require
(
'
.
.
/../vendor/websocket
'
),
httpProxy
=
require
(
'
../../lib/node-http-proxy
'
);
httpProxy
=
require
(
'
../../lib/node-http-proxy
'
);
try
{
try
{
...
...
examples/websocket/standalone-websocket-proxy.js
View file @
549360a4
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
var
sys
=
require
(
'
sys
'
),
var
sys
=
require
(
'
sys
'
),
http
=
require
(
'
http
'
),
http
=
require
(
'
http
'
),
colors
=
require
(
'
colors
'
),
colors
=
require
(
'
colors
'
),
websocket
=
require
(
'
./../vendor/websocket
'
),
websocket
=
require
(
'
.
.
/../vendor/websocket
'
),
httpProxy
=
require
(
'
../../lib/node-http-proxy
'
);
httpProxy
=
require
(
'
../../lib/node-http-proxy
'
);
try
{
try
{
...
...
examples/websocket/websocket-proxy.js
View file @
549360a4
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
var
sys
=
require
(
'
sys
'
),
var
sys
=
require
(
'
sys
'
),
http
=
require
(
'
http
'
),
http
=
require
(
'
http
'
),
colors
=
require
(
'
colors
'
),
colors
=
require
(
'
colors
'
),
websocket
=
require
(
'
./../vendor/websocket
'
),
websocket
=
require
(
'
.
.
/../vendor/websocket
'
),
httpProxy
=
require
(
'
../../lib/node-http-proxy
'
);
httpProxy
=
require
(
'
../../lib/node-http-proxy
'
);
try
{
try
{
...
...
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