1044 Commits

Author SHA1 Message Date
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
yawnt
cde08fb2ee [fix] closes number #487 2013-11-07 19:05:59 +01:00
yawnt
590bb604da [fix] _ because it is unused 2013-11-07 19:00:01 +01:00
Jarrett Cruger
b8c6397a94 [fix] pass proper options object that extend the global options and parse the per proxy args into options. fixes #510 2013-11-05 16:30:39 -05:00
yawnt
dda6f7a45a [feature] add emit proxyRes 2013-11-05 17:44:04 +01:00
cronopio
8085178dc2 [tests] Using target field, tests now pass. We are missing the tests using forward field 2013-10-29 16:46:27 -05:00
yawnt
1204a35e46 [fix] support buffer 2013-10-29 18:12:23 +01:00
cronopio
f720e36b42 Merge branch 'caronte' of github.com:nodejitsu/node-http-proxy into caronte 2013-10-28 13:19:35 -05:00
cronopio
33a2462d28 [wip] Initial HTTPS->HTTP test, updated https-secure example. Work in progress, need to add more https tests 2013-10-28 13:18:21 -05:00
yawnt
e3f8d5fdbe [feature] add buffer support 2013-10-26 17:20:30 +02:00
cronopio
a1b25a123b [examples] update the error-handling example using the new error handle way 2013-10-22 17:04:18 -05:00
cronopio
920f1e7707 [tests] this test is already in web-incoming tests 2013-10-22 16:09:11 -05:00
cronopio
c75d06c5f9 [tests] now each test use a different port to avoid some slow opening and closing ports 2013-10-22 15:57:52 -05:00
cronopio
d60353f80b [tests] tests fixed 2013-10-21 23:22:59 -05:00
cronopio
02df9a33c5 [fix] fix the correct order of arguments in ws-incoming passes 2013-10-21 23:22:32 -05:00
cronopio
881c7e62e0 [tests] this file is not necessary anymore 2013-10-21 21:22:39 -05:00
cronopio
cc09ae6a34 [fix] use the correct arguments order 2013-10-21 21:19:52 -05:00
cronopio
7c72f3b407 [tests] move contributions of @mmoulton to correct place 2013-10-21 21:11:19 -05:00
mmoulton
0bfb9be418 Fixed issue where error callback would not invoke, including new test cases. Added req/res values to error events.
Conflicts:
	lib/http-proxy/passes/web-incoming.js
2013-10-21 17:36:20 -05:00
cronopio
5d66ce11bb [fix] minor typo 2013-10-21 14:51:45 -05:00
cronopio
5e130de854 Revert "[fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options'"
This reverts commit 9b3e1eb247df29d18ea299ff4ebb2f10eeb71269.
2013-10-21 14:49:39 -05:00
cronopio
babdf531fe Revert "[fix] fixed options and server reference to can access them from passes functions"
This reverts commit 90fb01d38ac5af7ef395547b24e985b6f63b4abc.
2013-10-21 14:45:03 -05:00
cronopio
2bf20d61d5 Revert "[tests] fix test to use the new way to pass options"
This reverts commit 52ecd52ee5aa78603e44ba8d5ff9187410351622.
2013-10-21 14:44:49 -05:00
cronopio
52ecd52ee5 [tests] fix test to use the new way to pass options 2013-10-21 03:59:14 -05:00
cronopio
9b3e1eb247 [fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options' 2013-10-21 03:46:30 -05:00
cronopio
90fb01d38a [fix] fixed options and server reference to can access them from passes functions 2013-10-21 03:26:54 -05:00
cronopio
1d1ee88582 [tests] the options got a problem and this test probe that timeout is not being set 2013-10-21 03:25:47 -05:00
Jarrett Cruger
e4450132e2 Merge pull request #502 from jamesmanning/patch-1
attempting to fix links to 2 source locations in README.md
2013-10-20 02:19:58 -07:00
James Manning
bbe2b2788a attempting to fix link to valid options properties
Current link for 'valid properties are available here' goes to url:

https://github.com/nodejitsu/node-http-proxy/blob/caronte/tree/master/lib/http-proxy.js#L26-L39

The url works fine if 'tree/master/' is removed, so this is trying to remove that part of the relative path.

The same removal of 'tree/master/' is being made for the 'available here' link that is preceded by "When a request is proxied it follows two different pipelines" since it suffers the same issue.
2013-10-19 23:43:22 -04:00
cronopio
86750c7e59 [tests] throw error when no options, ALL TESTS PASSING! YAY 2013-10-10 11:04:17 -05:00
cronopio
c65ffbb976 [tests] fixed inherits problem and listen for the correct event 2013-10-09 12:40:05 -05:00
cronopio
a7042132c8 [tests] fixing tests, fixed some typos and changed how passes are stored 2013-10-09 12:00:42 -05:00
cronopio
b333e63648 [tests] fixing minor typos 2013-10-09 11:04:41 -05:00
cronopio
c9f5772fc1 [tests] remove caronte and use http-proxy for file names 2013-10-09 10:49:13 -05:00
yawnt
a9f9e21eda [fix] 2013-10-09 17:37:20 +02:00
yawnt
3d8e5383cd [fix] better code 2013-10-09 17:31:02 +02:00
yawnt
5a1504f076 [fix] minor typo 2013-10-09 17:28:39 +02:00
yawnt
c7924e01f9 [fix] callback as optional error handler 2013-10-09 17:23:44 +02:00
yawnt
601dbcbfe9 [fix] refactor error handling 2013-10-09 16:59:03 +02:00
yawnt
b79bd29d5e [feature] start working on the new server 2013-10-08 22:24:16 +02:00
3rd-Eden
a51b062278 [minor] Remove duplicate dependencies and cleanup of the scripts 2013-10-01 09:14:37 +02:00