Maciej Małecki
2e7d8a88f4
[fix] Partial fix for rejecting self-signed certs in tests
...
Since joyent/node@35607f3a2d , https and
tls modules validate server certificate by default. Turn this feature
off since we're using self-signed certificates in tests.
Currently wss tests are still failing, pending investigation.
Commited on a plane from Poznań to Munich.
2012-09-27 10:00:10 +02:00
indexzero
fd648a5290
[fix test] Fix examples to use newest version of socket.io and helpers. Added tests for ensuring that examples require as expected with no errors.
2012-07-26 04:29:47 -04:00
Charlie Robbins
46c184cb08
Merge pull request #221 from coderarity/gzip-middleware-proxytable-example
...
Add example for gzip middleware using a proxy table.
2012-07-21 23:55:30 -07:00
Christian Howe
62013281b8
Added example for gzip middleware using a ProxyTable.
2012-03-30 15:38:51 -04:00
Marak Squires
fd7fcd8dec
[examples] Added simple load balancer example
2012-03-28 22:40:50 -07:00
MetaHack
868f7e7a28
fixed comment typos in examples/http/proxy-https-to-http.js and proxy-https-to-https.js, lines 37 and 46
2012-01-09 19:10:33 +08:00
Maciej Małecki
8d701bb20b
[example] Replace sys usages with util
2011-12-14 01:45:21 +01:00
Maciej Małecki
6e65c20017
[examples] Add some hand-crafted middleware
2011-11-08 17:05:33 +01:00
Joshua Holbrook
2e8d4c6e49
[fix] Fixed require paths in examples
2011-09-29 13:14:15 -07:00
Charlie McConnell
549360a462
[examples] More fixes to examples.
2011-09-21 14:53:57 -07:00
Charlie McConnell
8fc8d966c4
[examples] Updated examples to v0.7.x API.
2011-09-21 14:11:41 -07:00
indexzero
13eaec55dc
[doc] Updated examples
2011-09-10 04:04:31 -04:00
indexzero
598fe2e38d
[api doc] Rebuilt httpProxy.createServer() with the newer high-level RoutingProxy API
2011-09-09 18:14:49 -04:00
indexzero
2937229820
[dist] Update examples/package.json to conform to nodejitsu style guidelines
2011-09-08 17:58:11 -07:00
indexzero
81d6c31875
[dist] Reorganize examples based on classification(s): http, websocket, or middleware
2011-09-08 17:01:19 -07:00
Dominic Tarr
b8f84994b0
[fix] fix syntax errors. close issue #86
2011-08-09 20:32:10 +10:00
Charlie McConnell
2626308cd8
[fix] Removed bad example.
2011-08-02 22:42:19 -07:00
Dominic Tarr
6ec8d6caac
[minor] add example to test concurrency
2011-08-02 14:55:49 +10:00
Dominic Tarr
2cf4e0a9e6
[api] refactor out middlewares from examples.
2011-08-02 14:55:49 +10:00
Dominic Tarr
020290a162
[docs] add middleware examples (first draft)
2011-08-02 14:55:49 +10:00
indexzero
f0917a3f97
[minor] Style updates and whitespace cleaning for consistency
2011-08-02 14:55:49 +10:00
Charlie McConnell
8eaec35074
[minor] Added body decoder middleware example. Needs fixing.
2011-08-02 14:51:37 +10:00
Dominic Tarr
549bfeac23
[fix] broken RegExp
2011-08-02 14:51:37 +10:00
Charlie McConnell
4cc18f4217
Tested & fixed url middleware example, added comments.
2011-08-02 14:51:37 +10:00
Dominic Tarr
caa1f494ab
[minor] minor fixes to gzip middleware example
2011-08-02 14:51:37 +10:00
Dominic Tarr
f6484de411
[doc] add comments to examples/url-middleware.js
2011-08-02 14:51:36 +10:00
Dominic Tarr
45f3df8093
[minor] add url-proxying middleware example
2011-08-02 14:51:36 +10:00
Dominic Tarr
d3c06973a1
[minor] add example of using middleware to gzip response
2011-08-02 14:51:36 +10:00
indexzero
fcfe84626f
[doc] Added examples/latent-websocket-proxy.js
2011-06-23 04:48:02 -04:00
indexzero
1ee8ae7104
[doc] Add examples/standalone-websocket-proxy.js
2011-06-23 04:36:16 -04:00
indexzero
4cdbf0e872
[doc] Added sample for custom error messages using the proxyError event
2011-06-15 09:39:35 -04:00
indexzero
91737fadb6
[doc] Update examples for HTTPS to HTTP proxying
2011-05-18 21:06:12 -04:00
Olivier Lauzon
ff829467d3
[minor] Fix syntax in examples/
2011-05-18 06:20:48 +08:00
indexzero
12064d8e5d
[doc test] Small updates to README.md. Update to try require socket.io
2011-04-17 03:25:48 -04:00
indexzero
212009df6b
[doc api] Update README.md and CHANGELOG.md for v0.5.0. Update bin/node-http-proxy to read files specified in config.https
2011-04-17 03:11:06 -04:00
indexzero
bf68dc30a5
[api test doc] Improve HTTPS support. Update minor documentation. Change tests accordingly.
2011-04-17 02:20:36 -04:00
indexzero
4d18ac1ae6
[test] Add WebSocket tests
2011-04-16 23:46:08 -04:00
indexzero
7cbf447320
[dist] Move pgriess' websocket client into vendor/*
2011-04-16 23:45:33 -04:00
indexzero
cfddd12e82
[api] Update .proxyRequest() and .proxyWebSocketRequest() APIs to take an options hash instead of a set of arguments. Add HTTPS support.
2011-04-16 23:08:40 -04:00
indexzero
6e4bf6a9cb
[doc] Breakout demo.js into files in example/. Add web-socket-proxy.js example
2011-04-16 03:19:56 -04:00