163 Commits

Author SHA1 Message Date
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
yawnt
8269eca2bb [fix] tests 2013-09-26 11:13:16 +02:00
yawnt
1436b715ae Merge pull request #492 from nodejitsu/1.0.0-dev
[merge] rename codename to actual project name
2013-09-26 02:05:02 -07:00
indexzero
bb0d28c587 [refactor minor] s/caronte/http-proxy/ or s/caronte/httpProxy/ where appropriate. 2013-09-26 03:37:08 -04:00
indexzero
f7f5fa727e [dist doc] Added documentation for consistent benchmarking of node-http-proxy 2013-09-26 03:27:55 -04:00
yawnt
455f97e14c [fix] finished jshint fixes 2013-09-25 15:11:04 +02:00
yawnt
17399e7c3e [fix] more jshint intendation 2013-09-25 15:08:27 +02:00
yawnt
0aeaba7fe6 [fix] remove trailing whitespaces 2013-09-25 14:58:59 +02:00
yawnt
94ec6fa5ce Merge pull request #484 from srossross/error_handling
[merge] Added error handling example
2013-09-22 04:22:40 -07:00
srossross
32a40889ce DOC: Added error handling example 2013-09-21 13:15:34 -07:00
yawnt
32dcb0449c Merge pull request #482 from srossross/caronte
[merge] https & agent
2013-09-21 01:49:00 -07:00
cronopio
4a517fbe6e [readme] add links to badges on readme, fix #483 2013-09-20 20:47:02 -05:00
cronopio
5dcdf2b36c [doc] added some documentation to functions and comments to understand better the code 2013-09-20 19:28:53 -05:00
srossross
7ad5c0f993 DOC: updated readme
@yawnt I think it is good to go. If you have any other tests in mind let me know.
2013-09-18 09:07:56 -07:00
srossross
39b0c46a69 TEST: added agent and header tests 2013-09-17 15:29:48 -07:00
srossross
a350fadea6 FIX: tests. still need to add more tests tho 2013-09-17 15:06:22 -07:00
srossross
1b5fb1d8fc DOC: updated readme with options 2013-09-17 15:00:28 -07:00
srossross
12cda561af ENH: updated agent options in common.setupOutgoing 2013-09-17 14:52:53 -07:00
srossross
f566a42e51 ENH: updated examples 2013-09-17 14:51:56 -07:00
srossross
4ee96ddd66 Merge branch 'agent' into caronte 2013-09-17 11:51:17 -07:00
srossross
1c7ace26c5 ENH: updated example 2013-09-17 11:50:04 -07:00
srossross
7d840d3515 ENH: added 'headers' to available options, to add or overwrite existing headers 2013-09-17 11:45:41 -07:00
srossross
427d8d8536 ENH: added new https example, needs to be simplified before merge
updated existing example with log output
2013-09-17 11:44:09 -07:00
srossross
13741a823f ENH: updated https and agent option
Removed logic from createProxyServer and put it into setupOutgoing.

Conflicts:
	lib/caronte.js
2013-09-17 11:23:12 -07:00