1034 Commits

Author SHA1 Message Date
Phil Jackson
25bb3bfa70 Update the README to describe middleware err handler. 2013-12-26 23:39:40 -08:00
Phil Jackson
bc12ca3939 Emit middlewareError when on middleware error.
Now it's possible to pass an Error object to next() and have it handled
in a custom way that's suitable to your application.
2013-12-26 23:39:37 -08:00
Jan Jongboom
781c038f2b Fix for #458. Host header may cause some sites not to be proxyable with changeOrigin enabled 2013-12-26 23:35:47 -08:00
Charlie Robbins
d60f1a9353 Merge pull request #521 from derekdreery/patch-1
Update README.md
2013-12-26 23:10:25 -08:00
yawnt
162a42f58f [fix] legacy 2013-12-20 21:33:49 +01:00
yawnt
9243444ac0 fix docs 2013-12-20 20:24:49 +01:00
yawnt
db12f6c24e [docs] add UPGRADING.md 2013-12-20 20:22:40 +01:00
yawnt
16828a9915 Merge pull request #520 from nodejitsu/better-examples
Better examples
2013-12-18 10:03:46 -08:00
cronopio
e2a5d513ca Set travis to run npm test while we fix coveralss.io integration 2013-12-18 12:18:59 -05:00
cronopio
d83fdf69a1 [tests] disabled the examples-test by now 2013-12-18 12:18:59 -05:00
cronopio
bc236d7e95 [tests] Added a test case for run all the examples
* I changed all the ports across examples to be different and can run at same time
2013-12-18 12:18:58 -05:00
cronopio
c82ff2c3c0 [examples] updated bodyDecoder middleware example 2013-12-18 12:18:58 -05:00
cronopio
d7064f2e1e [examples] added error-handling using callbacks and HTTP-to-HTTPS examples 2013-12-18 12:18:58 -05:00
cronopio
de3ff11656 [examples] updated the modifyResponse-middleware example 2013-12-18 12:18:58 -05:00
cronopio
2142c506e0 [examples] add example of gzip using the connect.compress() middleware 2013-12-18 12:18:58 -05:00
cronopio
e592c53d1a [examples] fix the copyright header of example files 2013-12-18 12:18:58 -05:00
cronopio
d85ccdd333 [examples] added package.json with the dependencies needed by examples 2013-12-18 12:18:58 -05:00
cronopio
831a44b3c8 [examples] updated balancer examples 2013-12-18 12:18:58 -05:00
cronopio
ed8c9eeba9 [examples] updated websockets examples 2013-12-18 12:18:58 -05:00
cronopio
588327c2c4 [examples] updated old examples 2013-12-18 12:18:58 -05:00
cronopio
e02317ce86 [examples] updated old proxy examples 2013-12-18 12:18:58 -05:00
cronopio
b726116134 [examples] update forward and custom error examples 2013-12-18 12:18:58 -05:00
cronopio
7e44d3669b [examples] update old examples 2013-12-18 12:18:58 -05:00
cronopio
bdeabb767a [examples] deleted this examples 2013-12-18 12:18:58 -05:00
cronopio
cfd417de23 [tests] fix tests set correct host headers 2013-12-18 12:17:41 -05:00
cronopio
c4d56a5faf [tests] fix test using undefined url 2013-12-18 11:50:49 -05:00
yawnt
4d65280ea3 [fix] remove old reminescence 2013-12-18 13:30:02 +01:00
yawnt
36389384cb Merge pull request #416 from MiLk/req-path
Send path in req.path and not the url
2013-12-18 03:49:59 -08:00
yawnt
9e74a633a7 [fix] closes #529 2013-12-18 12:45:41 +01:00
yawnt
97e4600e94 [fix] fixes #341 2013-12-18 12:33:23 +01:00
cronopio
03880d8d06 [docs] typos, typos everywhere... 2013-12-13 13:06:19 -05:00
cronopio
0393b5da99 [docs] more short examples to the Readme 2013-12-13 12:58:37 -05:00
cronopio
ae0faef5aa [docs] Update readme with more how to 2013-12-09 12:33:16 -05:00
derekdreery
ef8150af95 Update README.md
I struggled to get the section about using https to http with two certificates to work, because I didn't understand where the myCert etc. came from. Once I realised they had to be created by the user I could get it working. I want to save someone else the time it took me.
2013-11-21 17:33:19 +00:00
cronopio
584ce76e75 [misc] add a LICENSE file 2013-11-19 20:03:23 -05:00
yawnt
10c0f11b68 [fix] remove duplicate 2013-11-19 20:05:46 +01:00
yawnt
83367e7e91 Merge pull request #518 from bfirsh/fix-ws-error-handling
Fix websocket error handing
2013-11-18 15:27:23 -08:00
Ben Firshman
cb7af4f4d7 Fix websocket error handing
Websockets have sockets, not responses.
2013-11-18 23:06:56 +00:00
yawnt
dcb873ad99 [doc] update README.md 2013-11-13 18:29:15 +01:00
cronopio
54eceb4a86 Merge branch 'caronte' of github.com:nodejitsu/node-http-proxy into caronte 2013-11-11 11:22:23 -05:00
cronopio
7a3f6dfbcc [examples] added forward example 2013-11-11 11:22:04 -05:00
cronopio
04c10113f7 [examples] added concurrent proxy example 2013-11-11 11:14:42 -05:00
yawnt
961d2f9400 [fix] support target and forward 2013-11-08 20:56:26 +01:00
cronopio
bbe3bfdf98 [tests] added test HTTPS to HTTP using own server 2013-11-07 21:27:50 -05:00
cronopio
31d919b0a3 [tests] added HTTPS to HTTPS test 2013-11-07 18:06:51 -05:00
cronopio
6a6dfbb79d [examples] fix styling and bad spaces 2013-11-07 18:06:12 -05:00
cronopio
a467b7b4a9 [examples] fixed https examples 2013-11-07 17:20:28 -05:00
cronopio
fd42dcef01 [tests] https test pass, fix #511. Exposed the rejectUnauthorized flag 2013-11-07 15:09:37 -05:00
cronopio
a2b1f0a4c9 [tests] disable test, by now is not throwing without options 2013-11-07 15:06:45 -05:00
yawnt
d0862aff0c [fix] merge #495, thanks @glasser 2013-11-07 19:13:09 +01:00