Commit 549360a4 authored by Charlie McConnell's avatar Charlie McConnell

[examples] More fixes to examples.

parent 8fc8d966
...@@ -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.HttpProxy(); var proxy = new httpProxy.RoutingProxy();
http.createServer(function (req, res) { http.createServer(function (req, res) {
var buffer = httpProxy.buffer(req); var buffer = httpProxy.buffer(req);
setTimeout(function() { setTimeout(function() {
......
...@@ -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 {
......
...@@ -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 {
......
...@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment