Skip to content

Commit

Permalink
[examples] More fixes to examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
AvianFlu committed Sep 21, 2011
1 parent 8fc8d96 commit 549360a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/http/standalone-proxy.js
Expand Up @@ -32,7 +32,7 @@ var util = require('util'),
//
// Http Server with proxyRequest Handler and Latency
//
var proxy = new httpProxy.HttpProxy();
var proxy = new httpProxy.RoutingProxy();
http.createServer(function (req, res) {
var buffer = httpProxy.buffer(req);
setTimeout(function() {
Expand Down
2 changes: 1 addition & 1 deletion examples/websocket/latent-websocket-proxy.js
Expand Up @@ -27,7 +27,7 @@
var sys = require('sys'),
http = require('http'),
colors = require('colors'),
websocket = require('./../vendor/websocket'),
websocket = require('../../vendor/websocket'),
httpProxy = require('../../lib/node-http-proxy');

try {
Expand Down
2 changes: 1 addition & 1 deletion examples/websocket/standalone-websocket-proxy.js
Expand Up @@ -27,7 +27,7 @@
var sys = require('sys'),
http = require('http'),
colors = require('colors'),
websocket = require('./../vendor/websocket'),
websocket = require('../../vendor/websocket'),
httpProxy = require('../../lib/node-http-proxy');

try {
Expand Down
2 changes: 1 addition & 1 deletion examples/websocket/websocket-proxy.js
Expand Up @@ -27,7 +27,7 @@
var sys = require('sys'),
http = require('http'),
colors = require('colors'),
websocket = require('./../vendor/websocket'),
websocket = require('../../vendor/websocket'),
httpProxy = require('../../lib/node-http-proxy');

try {
Expand Down

0 comments on commit 549360a

Please sign in to comment.