Pibd-21_Alekseev_I.S._Inter.../IP/node_modules/http-proxy/CHANGELOG.md
VanyaAlekseev ccc3e790bb lab2
2023-12-03 16:59:28 +04:00

172 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Generated by auto-changelog.

v1.18.1 - 2020-05-17

Merged

  • Skip sending the proxyReq event when the expect header is present #1447
  • Remove node6 support, add node12 to build #1397

1.18.0 - 2019-09-18

Merged

  • Added in auto-changelog module set to keepachangelog format #1373
  • fix 'Modify Response' readme section to avoid unnecessary array copying #1300
  • Fix incorrect target name for reverse proxy example #1135
  • Fix modify response middleware example #1139
  • [dist] Update dependency async to v3 #1359
  • Fix path to local http-proxy in examples. #1072
  • fix reverse-proxy example require path #1067
  • Update README.md #970
  • [dist] Update dependency request to ~2.88.0 [SECURITY] #1357
  • [dist] Update dependency eventemitter3 to v4 #1365
  • [dist] Update dependency colors to v1 #1360
  • [dist] Update all non-major dependencies #1356
  • [dist] Update dependency agentkeepalive to v4 #1358
  • [dist] Update dependency nyc to v14 #1367
  • [dist] Update dependency concat-stream to v2 #1363
  • x-forwarded-host overwrite for mutli level proxies #1267
  • [refactor doc] Complete rename to http-party org. #1362
  • Highlight correct lines for createProxyServer #1117
  • Fix docs for rewrite options - 201 also handled #1147
  • Update .nyc_output #1339
  • Configure Renovate #1355
  • [examples] Restream body before proxying, support for Content-Type of application/x-www-form-urlencoded #1264

Commits

  • [dist] New test fixtures. 7e4a0e5
  • [dist] End of an era. a9b09cc
  • [dist] Version bump. 1.18.0 9bbe486
  • [fix] Latest versions. 59c4403
  • [fix test] Update tests. dd1d08b
  • [dist] Update dependency ws to v3 [SECURITY] b00911c
  • [dist] .gitattributes all the things. fc93520
  • [dist] Regenerate package-lock.json. 16d4f8a

1.17.0 - 2018-04-20

Merged

  • Fix overwriting of global options #1074
  • Update README.md #1131
  • Update README.md with CoC link #1120
  • Add Code Of Conduct #1119
  • [deps] Update eventemitter3 to version 2.0.x #1109

Fixed

  • Fix "Can't set headers after they are sent" errors #930
  • Include websocket non-upgrade response #890

Commits

  • Add followRedirects option c9a556c
  • [test] add test for selfHandleRequest and remove modifyResponse as selfHandleRequest is the only way that functionality works 4a37175
  • Adding ability to set cookie path 2c98416
  • Updating docs and adding more tests. f5c2381
  • [dist] make tests work reliably, add package-lock.json 09dcb98
  • add support for modify response e5c02b8
  • [wip] proper tests and reporting f4ff100
  • Add detail about "buffer" option 6f88caf
  • Add use case for proxy to HTTPS using a PKCS12 client certificate d2f9db8
  • [test] for override method feature 81d58c5
  • [dist] doc updates e94d529
  • feat: 添加response自处理参数 89f9ef8
  • [dist][test] codecov config a4bccc3
  • Removing unnecessary check since this is a private API bc6a237
  • issue #953: stop using writeHead 2c44039
  • [fix] move badges 543636d
  • fix small typos in README 8231984
  • Added timeout option to docs 107c187
  • [dist] document the feature d533a1b
  • [fix] slightly more tolerant de1b808
  • Forgot 'i' flag when changing from regex shorthand to string. 50f58b4
  • Update common.js c5d8466
  • [fix] rm newline e6f24ba
  • [dist] update package-lock.json abf882e

1.16.2 - 2016-12-06

Merged

  • [WIP] Revert default behavior of writeHeaders method #1104

1.16.1 - 2016-12-04

Commits

  • Enable proxy response to have multiple Set-Cookie raw headers #1101 8cb451f
  • [dist] Version bump. 1.16.1 ac1a01b

1.16.0 - 2016-12-02

Merged

  • Fix newly introduced error in error handler for ECONNREFUSED in forward proxy #1100
  • Keep original letter case of response header keys #1098
  • Handle errors for forward request, add test case #1099

Commits

1.15.2 - 2016-10-22

Merged

  • Add proxy-timeout option to documentation #1075

Commits

  • Do not rely on func.name (no scope) 61c2889
  • Do not rely on func.name (no scope) d48f67e
  • Expose full callback names 220f5fb
  • test case added f5217d6
  • [fix] style nits d0f1dfe
  • With a comment fbc2668
  • Fix browserification 8eddf45
  • not setting connection header in case of http2 as it is deprecated 2d01edc

1.15.1 - 2016-09-14

Merged

  • Properly write response header optionally including statusMessage #1061

Commits

  • [dist] Version bump. 1.15.1 912cd3a

1.15.0 - 2016-09-14

Merged

  • Made it not to crash with omited Host http header #1050
  • README.md: fix typo: 'ingoing' should be 'incoming' #1060
  • Fix for Reason-Phrase being overwritten on proxy response. #1051
  • cookieDomainRewrite option #1009
  • Update ntlm-authentication.js #1025
  • Restream body before proxying #1027
  • Location rewriting for responses with status 201 #1024
  • #866 Copy CA from options into outbound proxy #1042

Fixed

  • Restream body before proxying (#1027) #955

Commits

  • [dist] Version bump. 1.15.0 b98c75b

1.14.0 - 2016-06-15

Merged

  • Emit disconnected event instead of error when ECONNRESET #966
  • fix test for node 0.10 + socket.io-client@1.4.6 (engine.io-client@1.6.9) #1010

Commits

  • [dist] Version bump. 1.14.0 fcfb0b3

1.13.3 - 2016-05-16

Merged

  • fix browserify compatibility #975
  • alter message error #998
  • Sanitize header keys before setting them #997
  • Update ntlm-authentication.js #989
  • Add expected datatype to readme #983
  • Update README #982
  • Fix formatting of the headers option #974
  • Set the x-forwarded-host flag when xfwd is enabled #967

Fixed

  • Sanitize header keys before setting them (#997) #996

Commits

  • [dist] Update LICENSE to reflect 2015 changes. f345a1a
  • [dist] Version bump. 1.13.3 5082acc

1.13.2 - 2016-02-17

Merged

  • Fixed missing documentation: #options.headers #806
  • #949 Proxy example using req instead res on README #950
  • mocha: Use default reporter #962
  • Remove "transfer-encoding" header if "content-length" is set to zero #961

Commits

  • [dist] Version bump. 1.13.2 e1b2f4c

1.13.1 - 2016-02-02

Merged

  • README.md: summary to specify reverse proxy #932
  • fix(common) urlJoin replace: ":/" -> "http?s:/" #947
  • Update README.md #948

Commits

  • [dist] Version bump. 1.13.1 9d9fa94

1.13.0 - 2016-01-26

Merged

  • Fix for #839 (Ignore path and the trailing slash) #934
  • Update license year range to 2016 #943

Commits

  • [dist] Version bump. 1.13.0 268994e

1.12.1 - 2016-01-24

Merged

  • Bump version for npm publish #942
  • Added check to passes/web-outgoing.js to make sure the header being s… #940
  • Created reverse-proxy.js example. #825
  • SSE example and test #922
  • More structured readme #912
  • Updated markdown docs to mention proxy rules module #910
  • Add tests for forwarding of continuation frames #901
  • Bump requires-port, server and ws #904
  • [example] add an example for NTLM authentication #903

Commits

  • Organized README more cd1d777
  • Add tests for testing forwarding of continuation frames 64fa520
  • Added back to top helpers 6106d4c
  • [ci] use node 4.2 to test and do not allow failures f82ce18
  • [fix] bump requires-port, server and ws 9ea1e89
  • Updated markdown docs to mention proxy rules eea79ca
  • Fixed tests depending on ignorePath f9540de
  • Added check to passes/web-outgoing.js to make sure the header being set is not undefined, which should be the only falsey value that could accidently show up and break that call. This fixes windows NTLM auth issues behind http-proxy. 3b39d2c
  • No longer appends / to path if ignorePath is set f2093b5
  • README.md: introduction to specify reverse proxy 41414a5
  • Added note for appending trailing / when using ignorePath 0cb1d3c

1.12.0 - 2015-10-22

Merged

  • Issue #896: provide a "proxyReq" event also for websocket connections. #897

Commits

  • Provide a "proxyReq" event also for websocket connections. a05fc2d
  • fixes after PR review 9752652
  • [dist] Version bump. 1.12.0 b5a6d0e

1.11.3 - 2015-10-19

Merged

  • Removed unspecified trailing slash in proxy url #893
  • Updating the upgrading doc #892

Commits

  • [dist] Update .travis.yml to be more modern. 302d981
  • [dist] Version bump. 1.11.3 60baca5
  • docs: options.headers c86ae51

1.11.2 - 2015-08-30

Merged

  • Update gzip-middleware.js #870
  • Fix broken option list indentation #863
  • Added missing configuration options #852
  • Added installation instructions #823
  • fixes comment #817

Commits

  • Created reverse-proxy.js example. 38864d0
  • Added websocket set-cookie headers test 855cebd
  • [fix] make more functional cea0e86
  • Modify the set-cookie header fix to work with node 0.10.x. da674ec
  • Use raw headers instead parsed. 8bfd90c
  • Replaced Object.keys().map with for in loop. 3d2350c
  • [dist] Version bump. 1.11.2 30e3b37
  • Websocket key was unnecessary long. ca73208

v1.11.1 - 2015-04-22

Commits

  • [dist] Version bump. 1.11.1 7e6c66a
  • [fix] dont use bind in the one case we do d26ef56
  • [dist] update to new version of EE3 607f96c
  • [fix] use the main export for EE3 18c77ca

v1.11.0 - 2015-04-20

Merged

  • [api] add an ignorePath option if you want to disregard the path of the ... #759

Commits

  • [dist] Version bump. 1.11.0 934e6c4

v1.10.1 - 2015-04-02

Merged

  • Fix default port detection with node 0.12.x #799

Commits

  • [dist] add semver and normalize package.json with --save-dev 1b89bc9
  • fix protocol and default port detection on node 0.12.x, compatible with 0.10.x 5f14bca
  • fix expected error message when node 0.12.x 0ee314c
  • force cipher AES128-GCM-SHA256 in https tests c33d161
  • [fix] properly support iojs with test checking for HTTPS c6dfb04
  • [dist] Version bump. 1.10.1 0bd446c
  • [ci] add 0.12 and iojs to travis a6ae6c4

v1.10.0 - 2015-04-01

Merged

  • Fixes / additions to URL rewriting #787

Commits

  • [dist] Version bump. 1.10.0 1dabda2

v1.9.1 - 2015-04-01

Merged

Fixed

Commits

v1.9.0 - 2015-03-12

Merged

  • Adding the nodejs0.12 auth option #792
  • fix "x-forwarded-proto" in node 0.12 and iojs #789
  • Add support for auto host rewriting and protocol rewriting #1
  • changed highlighted part - very minor #756
  • Update README.md for benchmarks #625

Fixed

  • fix "x-forwarded-proto" in node 0.12 and iojs #772
  • [api] add an ignorePath option if you want to disregard the path of the incoming request when proxying to the target server fixes #758 #758

Commits

  • added auth header test df158bf
  • added auth header test ff1626f
  • refactor some tests for greater readability 14415a5
  • only rewrite redirect urls when it matches target 26029ba
  • auth header added ab5c3e5
  • [dist] Version bump. 1.9.0 87a92a7
  • end of file line space e907d7b
  • space instead of tabs 7298510
  • space instead of tabs 63c9262
  • auth header added tests f55ffa3

v1.8.1 - 2014-12-17

Commits

  • Pass HTTPS client parameters. 402ab05
  • [dist] Version bump. 1.8.1 3311106

v1.8.0 - 2014-12-17

Merged

  • Fix variables scope in test #752
  • Fix typo #751

Commits

  • Added websocket close event test 8bff3dd
  • Deprecated proxySocket event in favor to open event. c62610e
  • Update README.md 05d18a4
  • [fix] style spacing wtf ea0a4de
  • [api] add close event in ws-incoming.js 2653786
  • [minor] grammar f304861
  • Changed proxyServer and destiny to local variables. 8a8a894
  • [dist] Version bump. 1.8.0 f0db5b3

v1.7.3 - 2014-12-09

Fixed

  • [fix] use simple regex instead of indexOf to check the protocol to support without the colon fixes #711 #711

Commits

  • [test] show that we support protocol without the colon 89f9ca1
  • [dist] Version bump. 1.7.3 6a330ff

v1.7.2 - 2014-12-08

Merged

  • Fix grammar in README.md #749

Fixed

  • [fix] properly include port in host header with changeOrigin in all cases fixes #750 #750

Commits

  • [test] add tests for the changeOrigin cases in properly setting the host header 71a06aa
  • [dist] pin down deps and add requires-port 81874f7
  • [dist] Version bump. 1.7.2 2086e49

v1.7.1 - 2014-12-02

Merged

  • Adding harmon to the README #716

Fixed

  • [fix] fix #738 #738
  • [fix] simple fixes #748 #744 #746 #748

Commits

  • [test] add proper failing test case for #738 410a8ce
  • [Bugfix] Allow for multiple ? in outgoing urls. 70ed1c4
  • [dist] Version bump. 1.7.1 56a7b77

v1.7.0 - 2014-11-25

Merged

  • Allow optional redirect host rewriting. #741
  • Set Content-Length header for OPTIONS requests #742
  • copy headers instead of referencing them so they don't unexpectedly get overwritten #736
  • Updated to support error callback on proxy.web and start/proxyReq/end co... #735

Commits

  • 📝 Add host rewrite docs and specs. add8133
  • [minor] style consistency 48ae5d8
  • Updated to support error callback on proxy.web and start/proxyReq/end continue working. 9ba8311
  • style changes 84036e9
  • [fix] be defensive and ensure location is in headers before running url.parse() 8d68ac0
  • [dist] Version bump. 1.7.0 276f65a

v1.6.2 - 2014-11-11

Merged

  • do not modify the query string #733

Commits

  • [fix] style changes 7c5e40a
  • [minor] this shouldnt be in var block 3f19e6e
  • [dist] Version bump. 1.6.2 709b3e9

v1.6.1 - 2014-11-04

Merged

  • websocket needs to respect options.secure too #729
  • changeOrigin option docs fix #724

Commits

  • [dist] Version bump. 1.6.1 fa797fc

v1.6.0 - 2014-10-29

Merged

  • Added changeOrigin option with test and docs #723
  • I presume you mean couchdb here #717
  • update modify request body eg #712

Commits

v1.5.3 - 2014-10-01

Merged

  • close socket if upstream request fails #709

Commits

  • [dist] Version bump. 1.5.3 9577a0f

v1.5.2 - 2014-10-01

Merged

  • close websocket if proxyReq is closed before upgrade #708

Commits

  • test closing upstream socket prior to upgrade 7730548
  • [dist] Version bump. 1.5.2 43c6f0c

v1.5.1 - 2014-09-30

Commits

  • [fix] do a check to make sure the server exists before we try and emit 10a294a
  • [dist] Version bump. 1.5.1 f0bf741

v1.5.0 - 2014-09-30

Merged

  • exposing proxySocket on socket to support sniffing messages coming from proxy target #706
  • Fixed misleading documentation #705
  • Fix typo in README.md #702
  • handle 'upgrade' in comma-separated connection header #691

Commits

  • test new detection of connection: upgrade ec683b9
  • emitting proxySocket on proxyServer 000eb53
  • [fix] perf optimization so we have a precompiled regexp c0a796b
  • use regex to check for upgrade header 65a21bc
  • [dist] Version bump. 1.5.0 232258b
  • [minor] extra space e7d50b1

v1.4.3 - 2014-09-12

Merged

  • Urgent: Fix breaking bug on url joining resulting in paths like ///path. #699

Commits

  • [minor] Added missing JSDoc comments 73e8a4c
  • Fix breaking bug on url joining resulting in paths like ///path. 73d865b
  • [minor] Code style adjustment. 3ab6e95
  • Bump version v1.4.3 554f59c
  • [ignore] Ignore npm-debug.log a934cb6

v1.4.2 - 2014-09-12

Commits

  • [fix] ensure path works on windows because path.join doesnt like URLs ed73f06
  • [dist] Version bump. 1.4.2 df12aeb

v1.4.1 - 2014-09-11

Merged

  • Trimming contents of distributed npm package. #644
  • Remove changelog - it was not maintained #669
  • Removed duplicated imported dependencies #695

Commits

  • [test] add test for prependPath option e44fabe
  • [api] add prependPath option to go with path change 9a534c6
  • [dist] Version bump. 1.4.1 d5c656b
  • [dist] Version bump. 1.4.0 dceef40

v1.3.1 - 2014-09-09

Merged

  • Allow proxy to maintain the original target path #693
  • Clarify usable parameters for 'proxyRes' event #686

Commits

  • fix tests for maintaining proxy path a65021d
  • Fix proxy path 511b7b3
  • Clarify usable parameters for proxyRes event. 49a0de1
  • [dist] Version bump. 1.3.1 fc73828
  • [ci] remove 0.11.x to avoid failing builds caused by TLS errors 6b83ae4

v1.3.0 - 2014-08-14

Merged

  • Added functionality to close proxy. #679

Commits

  • [fix] cleanup and stylize close function 261742a
  • updated close function for safety 8be9d94
  • [dist] Version bump. 1.3.0 05f0b89

v1.2.1 - 2014-08-14

Commits

  • Added close method to proxy server. a3d0219
  • [fix] emit an error if proper URL is not passed in as a target 37036dd
  • [dist] Version bump. 1.2.1 0a6b424

v1.2.0 - 2014-08-05

Merged

  • [api] Add event-based ability to modify pre-flight proxy requests. #673

Commits

  • [dist] Version bump. 1.2.0 63c53a1

v1.1.6 - 2014-07-17

Fixed

  • do proper checking for a pass not existing. fixes #671 #671

Commits

  • Remove changelog - it was not maintained e336b52
  • [dist] Version bump. 1.1.6 ed9e12b

v1.1.5 - 2014-07-10

Merged

  • Fix simple-balancer example #666
  • Added proxyTimeout option and two tests for timeout #658

Fixed

Commits

  • Added targetTimeout option and two tests for timeout 0f24351
  • Change name targetTimeout to proxyTimeout 7b79a74
  • Trimming contents of distributed npm package. 431aba7
  • [api] also emit the target on a proxy error d1baa36
  • [dist] Version bump. 1.1.5 7104a7c
  • fix balancer example 9df4bc1

v1.1.4 - 2014-05-11

Merged

  • proxyRes event, provide access to the req and res objects #642

Commits

  • Add a test for the proxyRes event 1385635
  • [dist] Version bump. 1.1.4 7cb98a4
  • Add the req and res objects to the proxyRes event 1213e46

v1.1.3 - 2014-05-11

Merged

  • Don't override connection header if Upgrading #640

Commits

  • Adding test cases on preventing upgrade override 8aa7c51
  • Update README.md for benchmarks 4947484
  • [minor] style ccad177
  • [dist] Version bump. 1.1.3 c472527

v1.1.2 - 2014-04-14

Commits

  • [fix test] handle proxy error since we are properly aborting the proxy Request 61c8734
  • [fix] handle error on incoming request as well and properly abort proxy if client request is aborted 77a1cff
  • [dist] Version bump. 1.1.2 c54278b

v1.1.1 - 2014-04-11

Commits

  • [dist] Version bump. 1.1.1 d908e2a
  • [fix] let user make the decision on what to do with the buffer 4f07dc2

v1.1.0 - 2014-04-09

Merged

  • Update UPGRADING.md #616

Fixed

  • [fix] always be an eventemitter for consistency fixes #606 #606

Commits

  • [api] emit a start an an end event 8b48a9f
  • [dist] Version bump. 1.1.0 97ceeb3
  • [minor] missing angle bracket eca765a

v1.0.3 - 2014-03-27

Merged

  • Fix for #591 #592
  • Add Repository field to package.json #578
  • Fix doc: option lines #575

Fixed

  • [api] add toProxy method to allow absolute URLs to be sent when sending to another proxy fixes #603 #603

Commits

  • [doc] update docs with toProxy option ece85b4
  • [fix] set connection to CLOSE in cases where the agent is false. 89a22bc
  • @xtreme-topher-bullock - update package.json to have proper repository key and formatting 68fa17b
  • [dist] Version bump. 1.0.3 07fceb7
  • Add support for localAddress e633b0f

v1.0.2 - 2014-01-28

Merged

  • Update README.md #566
  • Fix argument order for ws stream pass #560
  • Extend listen to enable IPv6 support. #558
  • Fix before and after type check #556

Fixed

  • Close outgoing ws if incoming ws emits error #559
  • [fix] closes #555 #555

Commits

  • [fix] replicate node core behavior and throw an error if the user does not add their own error listener daad470
  • [dist] Version bump. 1.0.2 4bdc3e4
  • [doc] Fix broken image in npm by using an absolute link 8004f4e

v1.0.1 - 2014-01-17

Fixed

  • [fix] closes #553 #553

Commits

v1.0.0 - 2014-01-16

Merged

  • Http proxy 1.0 #552
  • Caronte #551
  • Only emit response if a valid server is present #549
  • [fix] add type to before and after to grab correct passes, fixes #537 #539
  • export the proxy itself from the main require #536

Fixed

  • [fix] closes #547 #547
  • Merge pull request #539 from nodejitsu/fix-before-after #537
  • [fix] add type to before and after to grab correct passes, fixes #537 #537

Commits

  • [nuke] old files a4ee8f9
  • [docs] upgrade UPGRADING.md e599151
  • [api] export the httpProxy.Server as the main export but preserve the createServer factory 182c76c
  • [fix] remove caronte d6d2d0c
  • [fix] ee3 error handling d23353d
  • [fix] comments 6fa23e1

v0.10.4 - 2013-12-27

Merged

  • Update README.md #521
  • Better examples #520
  • Send path in req.path and not the url #416
  • Fix websocket error handing #518
  • attempting to fix links to 2 source locations in README.md #502
  • [merge] rename codename to actual project name #492
  • [merge] Added error handling example #484
  • [merge] https & agent #482
  • [merge] caronte tests #476
  • FIX: ws error event #475
  • Fix accidental write to global variable. #472
  • [fix] 2 spelling mistakes #14
  • [fix] add ability to proxy websockets over HTTPS #11
  • Tests #3

Fixed

  • determine x-forwarded-port from host header #341
  • [fix] closes #529 #529
  • [fix] fixes #341 #341
  • [tests] https test pass, fix #511. Exposed the rejectUnauthorized flag #511
  • [fix] pass proper options object that extend the global options and parse the per proxy args into options. fixes #510 #510
  • [readme] add links to badges on readme, fix #483 #483
  • [fix] pooled connections, closes #478 #478
  • [fix] add 0.10 link, fixes #459 #459
  • [fix] closes #473 #473
  • [fix] add 0.10 compatibily.. closes #474 #474
  • [fix] headers, closes #469 #469
  • [fix] headers, fixes #467 #467
  • [fix] yawnt baaaka .. fixes #8 #8

Commits

  • [fix] more jshint intendation 17399e7
  • [fix] tests a255f98
  • [minor] remove coverage 335af81
  • [examples] updated websockets examples ed8c9ee
  • [tests] removed unused tests 7e25bde
  • [tests] Added a test case for run all the examples bc236d7
  • [tests] drop the test of own streams, moved the usable tests dc9d7e5
  • [fix] default port d166354
  • [tests] added the ws passes test and the streams webscokets test 8b3fe32
  • [refactor minor] s/caronte/http-proxy/ or s/caronte/httpProxy/ where appropriate. bb0d28c
  • [examples] updated bodyDecoder middleware example c82ff2c
  • [dist] first 4d13156
  • [examples] update forward and custom error examples b726116
  • [refactor docs] add descriptions d05af4a
  • [tests] make the tests run with the last refactor 5bb83b9
  • [examples] deleted this examples bdeabb7
  • websocket draft 07551c6
  • [fix] naming 2a59366
  • [dist doc] Added documentation for consistent benchmarking of node-http-proxy f7f5fa7
  • [examples] update old examples 7e44d36
  • [docs] more short examples to the Readme 0393b5d
  • [examples] updated old proxy examples e02317c
  • [wip] Initial HTTPS->HTTP test, updated https-secure example. Work in progress, need to add more https tests 33a2462
  • [docs] readme 886a870
  • [examples] added error-handling using callbacks and HTTP-to-HTTPS examples d7064f2
  • [examples] updated old examples 588327c
  • stuff e45bfd6
  • [doc] added some documentation to functions and comments to understand better the code 5dcdf2b
  • Fixed issue where error callback would not invoke, including new test cases. Added req/res values to error events. 0bfb9be
  • [examples] updated balancer examples 831a44b
  • socket.io stuff a74cd85
  • [tests] move contributions of @mmoulton to correct place 7c72f3b
  • [tests] this file is not necessary anymore 881c7e6
  • [refactor] move to leaner architecture 8273cb6
  • [fix] remove trailing whitespaces 0aeaba7
  • [test] added tests for web-outgoing.js 16a4d9d
  • [fix] some stuff start debugging proxystream d4f0da8
  • [tests] now each test use a different port to avoid some slow opening and closing ports c75d06c
  • [tests] fixed inherits problem and listen for the correct event c65ffbb
  • [fix] ProxyStraem now works 356f43d
  • [examples] fix the copyright header of example files e592c53
  • [feature] start working on the new server b79bd29
  • ENH: updated examples f566a42
  • [examples] add example of gzip using the connect.compress() middleware 2142c50
  • [fix] refactor error handling 601dbcb
  • [tests] fixed according new refactor and added test to common.setupSocket() 1cb967b
  • [feature] websocket support 79a14ac
  • keepalive sockets dad211e
  • [tests] Using target field, tests now pass. We are missing the tests using forward field 8085178
  • [fix] callback as optional error handler c7924e0
  • ENH: added new https example, needs to be simplified before merge 427d8d8
  • [test] proxystream test c961279
  • [lib] initial draft to websockets passes 79f7f99
  • [fix] minor 7599cee
  • [tests] added HTTPS to HTTPS test 31d919b
  • [feature] started working on error propagation, kinda sucks, gotta think it over 9ab8749
  • [test] testing the onResponse proxy method 27df8d7
  • [fix] remove duplicate 10c0f11
  • [tests] add more tests cedc5c4
  • [docs] Update readme with more how to ae0faef
  • [tests] added test for socket.io proxying 10a0db4
  • [tests] added test HTTPS to HTTP using own server bbe3bfd
  • [examples] update the error-handling example using the new error handle way a1b25a1
  • [fix] quote c4ddc4e
  • ENH: updated README and added examples file. 07091b5
  • [test] passes/web.js (first 2 funcs) d40e4be
  • [test] add test for forwardstream 8fc3389
  • [tests] fixing tests, fixed some typos and changed how passes are stored a704213
  • [test] added the lib/caronte/streams/forward.js initial test, one test pending 2fac7b9
  • [api] add draft for proxystream 4f24664
  • [experiment] new api for proxying 07cfa6b
  • [tests] the options got a problem and this test probe that timeout is not being set 1d1ee88
  • new error propagation 3a39e44
  • [fix] docs ec981c5
  • [examples] added concurrent proxy example 04c1011
  • [fix] closes number #487 cde08fb
  • [test] started writing tests 16eacfa
  • [tests] added tests for websockets 02007ed
  • Revert "[fix] fixed options and server reference to can access them from passes functions" babdf53
  • mm test file 1a7bef0
  • [fix] fixed options and server reference to can access them from passes functions 90fb01d
  • [examples] added forward example 7a3f6df
  • [docs] add UPGRADING.md db12f6c
  • DOC: Added error handling example 32a4088
  • [examples] updated the modifyResponse-middleware example de3ff11
  • [test] test onError part, proxying to no where b85aa16
  • ENH: updated agent options in common.setupOutgoing 12cda56
  • [fix] minor and short fixes e0faaaf
  • support websockets 4a4607d
  • [test] COVERAGE 004a46c
  • [misc] add a LICENSE file 584ce76
  • ENH: updated https and agent option 13741a8
  • [fix] write connection header 2c10f25
  • [fix] merge #495, thanks @glasser d0862af
  • support forward 8c8c455
  • [tests] fix tests set correct host headers cfd417d
  • [fix] Optimize fix for x-forwarded-for-port. 2d42709
  • ENH: updated readme with an example edd8e2f
  • [doc] update README.md dcb873a
  • [test] passes/web.js XHeaders func c02b721
  • [fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options' 9b3e1eb
  • Revert "[fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options'" 5e130de
  • [minor] Remove duplicate dependencies and cleanup of the scripts a51b062
  • TEST: added agent and header tests 39b0c46
  • [examples] fix styling and bad spaces 6a6dfbb
  • ENH: added error events 1b867a7
  • [test] remove chunked on http1.0 ca09263
  • [tests] fix test to use the new way to pass options 52ecd52
  • [examples] fixed https examples a467b7b
  • Revert "[tests] fix test to use the new way to pass options" 2bf20d6
  • [fix] better code 3d8e538
  • [feature] implement _write and _read 6a4294c
  • [fix] use the correct arguments order cc09ae6
  • [fix] fix the correct order of arguments in ws-incoming passes 02df9a3
  • [fix] write status e08d4ed
  • [fix] finished jshint fixes 455f97e
  • Update the README to describe middleware err handler. 25bb3bf
  • Prevent headers to be sent twice 8332e74
  • [examples] added package.json with the dependencies needed by examples d85ccdd
  • [tests] added .travis.yml file 0602500
  • [dist minor] 2 space indents next time @samalba 7e8041d
  • [fix] naming 8931009
  • Fix for #458. Host header may cause some sites not to be proxyable with changeOrigin enabled 781c038
  • [docs] typos, typos everywhere... 03880d8
  • ENH: updated ws and web functions to use the global options object as a base 268afe3
  • [fix] make @mmalecki a happy camper c9cd6d2
  • write f97c0c6
  • [fix] a9f9e21
  • [fix] coveralls.. will it work? f36cb4d
  • ENH: updated target and forward options so that a string may be specified ef946a7
  • added option for eventlistenerCount(max) 8eb6780
  • [fix] support buffer 1204a35
  • DOC: updated readme with options 1b5fb1d
  • ENH: added 'headers' to available options, to add or overwrite existing headers 7d840d3
  • [fix] move logo 57abb7f
  • FIX: tests. still need to add more tests tho a350fad
  • [fix] move logo aaff196
  • [docs] add travis build status 6b61878
  • [fix] do not send chunked responses to http1.0 clients 8663ac1
  • [dist] Bump dependencies. a81dd8d
  • [fix] readme 4d3a4e1
  • [fix] proxying to https 26c4c43
  • [fix] new logo ee3cc38
  • [fix] naming convention 7d71a86
  • fix docs 9243444
  • [fix] short circuit a6256ca
  • [tests] this test is already in web-incoming tests 920f1e7
  • Emit middlewareError when on middleware error. bc12ca3
  • DOC: updated readme 7ad5c0f
  • [docs] add logo 8b05626
  • [fix] making @stoke a happy camper 34f16e7
  • [feature] add buffer support e3f8d5f
  • [Fix] 2 spelling mistakes 5823842
  • [fix] do not call .end 6e77cd3
  • attempting to fix link to valid options properties bbe2b27
  • [fix] slimmer proxying 031aa0f
  • [fix] use agent pool abf1d90
  • [tests] fix test using undefined url c4d56a5
  • [fix] legacy 162a42f
  • [tests] fixing minor typos b333e63
  • Updated readme bd106d6
  • [misc] use the local mocha instead the global f1aeb05
  • added unlimited listeners to the reverproxy event obj. 1333c0c
  • [tests] throw error when no options, ALL TESTS PASSING! YAY 86750c7
  • ENH: updated example 1c7ace2
  • [merge] PR #470 38e6d7c
  • [fix] remove stuff 6a03e5f
  • [test][misc] remove node@0.8 to test on travis 8eff1a1
  • merge with @cronopio 0fb3381
  • [merge] text 98f29bd
  • [fix] woops bd3df45
  • [test] Test on newer version of node ebbba73
  • new error propagation - follows 1993faf
  • [fix] minor typo 5a1504f
  • [fix] proxy to http(s) 3c91ed3
  • Put the arguments the right way around in the README. 1457980
  • [fix] use some 4480699
  • [fix] layout d7078e2
  • [docs] logo dd0f7b8
  • [fix] url 0637322
  • [fix] opts adc5be0
  • [docs] fix syntax highlighting da9de70
  • [fix] typo 275a519
  • [tests] fix code coverage, changed pattern on blanket options 4090250
  • Put the arguments the right way around in emitter. 7c8ecc8
  • [fix] link 72a89ea
  • [fix] space 69f126b
  • [fix] tests 8269eca
  • [fix] console 18341d5
  • Set travis to run npm test while we fix coveralss.io integration e2a5d51
  • [fix] making @jcrugzz a happy camper 2e7343d
  • [fix] minor typo 5d66ce1
  • [tests] tests fixed d60353f
  • [tests] disabled the examples-test by now d83fdf6
  • [fix] _ because it is unused 590bb60
  • [tests] disable test, by now is not throwing without options a2b1f0a
  • [fix] support target and forward 961d2f9
  • [dist] Version bump. 0.10.4 840f6d8
  • [fix] remove old reminescence 4d65280
  • [feature] add emit proxyRes dda6f7a
  • [docs] test badge 1ceea3e
  • [tests] remove caronte and use http-proxy for file names c9f5772
  • [logo] 4c2f2f3

v0.10.3 - 2013-06-20

Merged

  • Pass default certs to SNICallback example #419

Fixed

  • Pass default certs to SNICallback example #399

Commits

  • [dist] Bump version to 0.10.3 2fd748f
  • [fix] Respect maxSockets from target options in RoutingProxy e1d384e
  • Send path in req.path and not the url 0c75323

v0.10.2 - 2013-04-21

Merged

  • Correct keep-alive responses to HTTP 1.0 clients #407

Fixed

  • [minor] Style compliance. Fixes #402. #402

Commits

  • Correct keep-alive responses to HTTP 1.0 clients. a29b5e8
  • [minor] Strip trailing whitespace. 7fc39d7
  • Add headers on 'handshake' 985025c
  • Don't test raw HTTP 1.0 requests over HTTPS. daf53bd
  • [dist] Version bump. 0.10.2 de0928f

v0.10.1 - 2013-04-12

Merged

  • Fix for slab buffer retention, leading to large memory consumption #370

Commits

  • [dist] Version bump. 0.10.1 9c13ad4

v0.10.0 - 2013-03-18

Merged

  • Change the emitter of the proxyResponse event #385
  • Fixing a bug that generates an unexpected TypeError #383
  • Mention Harmon used for response modifications in the readme #384

Commits

  • [dist] Update CHANGELOG.md 8665f3c
  • Harmon messsage 35ba0db
  • [fix breaking] Emit the proxyResponse event on the HttpProxy instance to reduce listener churn and reference counts. 2620f06
  • [dist] Version bump. 0.10.0 71183bf
  • Fixing the if statement as it lead to 'TypeError: Parameter 'url' must be a string, not undefined' in certain cases c9b6895
  • Harmon messsage 4e42354

v0.9.1 - 2013-03-09

Commits

  • [dist doc] Updated CHANGELOG.md for v0.9.1 ea5e214
  • [dist] Version bump. 0.9.1 701dc69
  • [breaking] Ensure that webSocketProxyError also receives the error to be consistent with proxyError events. c78356e

v0.9.0 - 2013-03-09

Merged

  • If HTTP 1.1 is used and backend doesn't return 'Connection' header, expicitly return Connection: keep-alive. #298
  • add "with custom server logic" to the "Proxying WebSockets" section of the readme #332
  • routing proxy 'this' reference bug? #365
  • fixed issue #364 'proxyError' event emitted twice #374
  • Misleading documentation for Websockets via .createServer #349

Fixed

  • [api test] Manually merge #195 from @tglines since that fork was deleted. Update tests to use new macros. Fixes #195. Fixes #60. #195 #60
  • [fix] Set "content-length" header to "0" if it is not already set on DELETE requests. Fixes #338. #338
  • [fix] Do not use "Transfer-Encoding: chunked" header for proxied DELETE requests with no "Content-Length" header. Fixes #373. #373
  • [fix] http-proxy should not modify the protocol in redirect request for external sites. Fixes #359. #359
  • [fix] Emit notFound event when ProxyTable location does not exist. Fixes #355. Fixes #333. #355 #333
  • [fix] Make options immutable in RoutingProxy. Fixes #248. #248
  • [fix] Remove special case handling of 304 responses since it was fixed in 182dcd3. Fixes #322. #322
  • [fix] Ensure response.headers.location is defined. Fixes #276. #276

Commits

  • [minor] s/function(/function (/ s/){/) {/ 9cecd97
  • working on x-forwarded-for 1332409
  • Routing Proxy was not sending x-forward-*. Fixing It... 916d44e
  • Added timeout option and test to test new timeout parameter, added requestFail assertion. 89d43c2
  • Add tests for headers bug fixes ecb5472
  • Added simple round robin example with websocket support 83fbd42
    • support unix donain sockets and windows named pipes (socketPath) on node 0.8.x. On node 0.6.x the support was opaque via port, but on the new node, socketPath should be set explicitely. ffe74ed
  • pathnameOnly flag added. Ignores hostname and applies routing table to the paths being requested. 46b078a
  • [doc] added comments to pathnameOnly block. 5e6be6c
  • remove offending code, final fix for issue #364 3b84e27
  • memory leak fix in closing of the scokets 2055d0c
  • Fix truncated chunked responses ef66833
  • Re-added previous description 603106a
  • pathnameOnly option documented in the Readme.md a1607c1
  • [fix minor] Prevent crashes from attempting to remove listeners more than once when proxying websocket requests. a681493
  • Added comments 64efa7f
  • Revert "[fix minor] Prevent crashes from attempting to remove listeners more than once when proxying websocket requests." c6da760
  • [doc dist] Update CHANGELOG.md for v0.9.0. 133115c
  • add support for loading CA bundles 10f6b05
  • problem: don't want to run my server as root to bind to privileged ports (e.g. 80, 443). 2c36507
  • Add 'proxyResponse' event so observer can modify response headers or abort response. 3b86a7a
  • [minor] Move private helper to end of file. 476cbe7
  • Fix for retaining large slab buffers in node core d2888c8
  • [dist] Update devDependencies ad21310
  • [minor] Small whitespace compliance. ea0587a
  • [doc fix] Add undefined var in example. deca756
  • working on x-forwarded-for 31fc94a
  • Allow event observers to access upstream response headers and data. 4c130f5
  • [fix doc] Fix bad variable reference in README.md. 440013c
  • Change wording for handling websocket proxy events ee6bbe0
  • [dist] Version bump. 0.9.0 c68e038
  • fix 'this' reference in routing proxy listener bindings 15afc23
  • cleanning 8d87399
  • cleanning 9672b99
  • Fix typo which slipped in during patch clean-up ba65a48
  • Remove data event that is not needed after-all. b1c4bd6

v0.8.7 - 2012-12-22

Commits

  • [fix] Handle errors on request object edfe869
  • [dist] Bump version to 0.8.7 26d3646
  • [fix] Don't remove error listener after response ends 223eacd

v0.8.6 - 2012-12-21

Merged

  • http-proxy: 304 responses should emit 'end' too #337

Commits

  • [bench] Remove silly "benchmarks" 2bd9cd9
  • [bench] Add a benchmark for websockets throughput 6797a27
  • [fix] Handle socket errors 2a61ec8
  • [dist] Update devDependencies b81d9b7
  • [dist] Bump version to 0.8.6 6cd78f6
  • [bench] More exact size display 7bc1a62

v0.8.5 - 2012-11-16

Merged

  • lib: allow overriding maxSockets #323

Fixed

  • [fix] Convert strings to numbers if possible in .createServer #321

Commits

  • [test] Delete invalid core test 886a395
  • [test] Upgrade common.js from node core fefbf04
  • add "with custom server logic" to the "Proxying WebSockets" section of the readme.md 03dbe11
  • [test] Kill child process when exiting test runner 74ec175
  • [fix] Correctly kill test processes b8c27ed
  • [test] Make global detection work with older node versions 3531fd6
  • [dist] Bump version to 0.8.5 22639b3
  • [test] Run core tests on npm test 41c9a9c
  • [test] Stop testing on node v0.9, tests timeout 9042665

v0.8.4 - 2012-10-23

Merged

  • Events patch #320
  • documentation for options #315
  • Added travis build status #308
  • Fix installation instructions: s/http/https/ #302
  • If supplied pass changeOrigin option through to HttpProxy instance if set in RoutingProxy #285

Commits

  • [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. fd648a5
  • [fix] spdy should look like https when forwarding (until we get a client) 698b01d
  • [docs] options 4c8e1d9
  • http-proxy: emit websocket:start 5df6e7b
  • [fix] destroy() websockets in case of an error 0d00b06
  • [fix] Suppress EADDRINUSE errors from test/examples-test.js since we are just looking for require-time errors. Isolate tests to ensure idempotency of ports c4a7b15
  • [docs] more options d4cb9da
  • If HTTP 1.1 is used and backend doesn't return 'Connection' header, explicitly 850171c
  • [refactor] Pass all options to Agent constructor eafdc74
  • Fix socket leaks when FIN packet isn't responded to 24b8406
  • [fix] Partial fix for rejecting self-signed certs in tests 2e7d8a8
  • [fix] Dont use -i when running vows because it supresses --target= and --proxy= CLI arguments 1783ab0
  • [test] Add node v0.9 testing, test all branches 4f6387c
  • [minor] Remove setEncoding on incoming socket 812868d
  • [dist] v0.8.3 a89a5b8
  • [fix] Ignore npm version errors when installing dependencies for examples a454666
  • [fix] function 213e03c
  • [dist] Bump version to 0.8.4 4d7e8a8
  • [minor doc] Correct comment cee27fe

v0.8.2 - 2012-07-22

Merged

  • Add example for gzip middleware using a proxy table. #221
  • Implement RoutingProxy.prototype.remove #246
  • prefer target.hostname over target.host #235
  • add "Using two certificiates" to the https section of the readme.md #275
  • Add support for setting the host in the executable #268
  • Hi! I fixed some calls to "sys" for you! #270
  • Fix bug: x-forwarded-proto set incorrectly as httphttps or wswss #266

Commits

  • [refactor] Rewrite tests to use saner vows idioms. Update tests to use latest socket.io 4ae7a5b
  • [dist] Remove out-dated docco docs 2d75510
  • [refactor test] Finish removing old test code. e2dc7f9
  • [dist] Complete JSHint compliance except for too many var statements 36226da
  • [refactor test] Add support for http*-to-http* testing from CLI arguments 828dbeb
  • [fix api] Optimize lookups in the ProxyTable. Ensure that RoutingProxy can proxy to https by default. 55286a7
  • Whitespace fixes. 04ce49c
  • [refactor tests] Finished refactoring tests to support ws*-to-ws* tests based on CLI arguments 7e854d7
  • [doc] Minor formatting updates to README.md 6753951
  • [fix] Changed require('util') to require('util') for compatibility with node v0.8 bf7e328
  • [test] Add .travis.yml file for Travis CI. 29e6e74
  • Use changeOrigin for proxyRequest. 0273958
  • adding support for setting the host 06e78f2
  • match style requested by @cronopio 415d4ed
  • Fix bug: x-forwarded-proto set incorrectly 0933f1c
  • [dist] Version bump. 0.8.2 13c34d0

v0.8.1 - 2012-06-05

Merged

  • [misc] Updating the changelog. Close #137 #256
  • Fix problem with req.url not being not properly replaced. #218
  • Re-emit 'start', 'forward' and 'end' events in RoutingProxy, and fix some hanging issues. #216
  • Fixes to make the websockets example work. #225
  • [minor] Syntax error #222
  • [docs] Making README links consistent with latest project structure. #208
  • [docs] improved grammar #205
  • proposed doc addition for #180 #189

Fixed

  • Merge pull request #256 from nodejitsu/changelog #137
  • [misc] Updating the changelog. Close #137 #137

Commits

  • Whitespace fixes e9fd3f4
  • Added example for gzip middleware using a ProxyTable. 6201328
  • [examples] Added simple load balancer example fd7fcd8
  • [dist] Update author field for consistency 27316e2
  • Add documentation for listening for proxy events to prevent a common mistake. 4f2bc58
  • Fix RoutingProxy hanging when there is an error b26b434
  • prefer target.hostname over target.host c4d185d
  • [doc] Fix style in websockets example ed06af9
  • Add tests for remapping URL properly. 5d839dd
  • fixed comment typos in examples/http/proxy-https-to-http.js and proxy-https-to-https.js, lines 37 and 46 868f7e7
  • [misc] changelog updated to version 0.8.1 e9a3a30
  • Implement RoutingProxy.prototype.remove 0532995
  • Making README links consistent with latest project structure. 7fa6599
  • Address ticket #180 here since that problem is so hard to discover when you run into it. If there was an error, people would search for the error text, but there isn't. 73e415a
  • [tests] used socket.io 0.6.17 fixed version for tests 45d67f4
  • [fix] x-forwarded-proto sets properly ca37ad7
  • [doc] add missing {} to make an object 843901e
  • fix the broken english and clarified the sentence (I hope) e15db4f
  • Re-emit 'start', 'forward' and 'end' events in RoutingProxy. 99ee542
  • [doc] call listen() to get the server started 4fc1ee8
  • syntax error fixed 5842d0e
  • [dist] Version bump 0.8.1 81f6095
  • finally removed hidden char 4358a4c
  • [minor fix] delete white space df650d1

v0.8.0 - 2011-12-23

Merged

  • Fix issue where front-end is HTTPS, back-end is HTTP, and server issues a redirect. #165
  • Modified the ad-hoc proxy lookup to use _getKey(), rather than the error-prone in-line method. #164
  • Allows node-http-proxy to append new values to existing headers for incoming "x-forward-for","x-forward-proto" and "x-forward-port" #163
  • [fix] only set one drain listener while paused #136
  • [docs] grammar correction #134

Fixed

  • [fix] Avoid Transfer-Encoding: chunked for HTTP/1.0 client, closes #59. #59

Commits

  • [refactor minor] Update vendor/websocket.js to be compatible with node@0.6.x ea7fea6
  • [test] Add common.js file from core 543f214
  • [test] Add core test-http-proxy test feb324b
  • [test] Add core test-http test 25a9e2d
  • [test] Add core test-http-host-headers test f298411
  • [test] Add core test-http-extra-response test c26ab5e
  • [test] Add core test-http-set-cookies test b3b5cce
  • [test] Add core test-http-client-abort test 7bf8d4a
  • [test] Add core test-http-client-upload test 7648fe5
  • [test] Add core test-http-client-upload-buf test 5ac9878
  • [test] Add core test-http-upgrade-server2 test bc98c0d
  • [test] Implement basic runner for multiple tests a4079c6
  • [test] Add core test-http-upload-timeout test 60ff181
  • [test] Add core test-http-status-code test 82060a5
  • [test] Add core test-http-many-keep-alive-connections test 4e1ca6e
  • [test] Add core test-http-chunked test d7461f3
  • [test] Add core test-http-head-response-has-no-body-end test 13389db
  • [test] Add core test-http-server-multiheaders test d7f15d0
  • [test] Add core test-http-multi-line-headers test 35d2088
  • [test] Add core test-http-head-response-has-no-body test f79f3ad
  • [refactor] Improved event handler cleanup 9f92332
  • [fix minor] Correctly set x-forwarded-proto in WebSocket requests c81bae2
  • Revert "[refactor] Improved event handler cleanup " c83d88e
  • Allowing the common proxy headers' value to be appended in proxy chain scenarios. 621f9b4
  • [test] Add basic test runner 87999d0
  • [examples] Add some hand-crafted middleware 6e65c20
  • [test] Add core test-http-malformed-request test a635389
  • [example] Response modification middleware dd83199
  • [test] Add core test-http-head-request test c0857f2
  • [test] Add core test-http-response-close test f1c0be3
  • [refactor] core proxy logic. all tests should be passing. 63ac925
  • [test] Add core test-http-contentLength0 test 275109b
  • [test] Add core test-http-client-abort2 test 98bbe54
  • adding tests for url segment proxytable routing 91e9bb9
  • [test] Add core test-http-eof-on-connect test 80c216d
  • [example] Replace sys usages with util 8d701bb
  • [refactor] Updates to support http2 from @mikeal 5b52c89
  • [refactor] Listen for socket events since reverseProxy.socket is no longer set synchronously 3828616
  • [test] Run tests in test/core/simple by default 68cebbe
  • simplify proxytable path segment rewrite logic c03a450
  • change proxytable routing to route one level shallower 4d50915
  • [docs] Little explanation for test/core directory 8ca5d83
  • [minor] Allow user to set colors.mode 48d4a8b
  • [minor] Indentation fix 9e630da
  • [v0.6] http.Agent uses different structure for sockets 86b4122
  • [minor] Nicer output from test runner 5c3d41b
  • Modified the ad-hoc proxy lookup to use _getKey(), rather than the 553e7fb
  • [fix] When client request is aborted, abort server request 4d43d81
  • Fixes memory leak when clients abort connections c98ccb4
  • [fix test] Make test runner exit after test exits 31a8c68
  • [test dist] Run core tests on npm test 8358ef8
  • don't add upgrade handler if a custom handler is passed in d6ea3a4
  • always emit end in 0.4 182dcd3
  • [fix] Fix incorrect depth check. 3ab02f3
  • [minor] Everybody loves Unicode 38bd906
  • [test minor] Update copyright notice on test runner 2ccc5c7
  • [minor] When running tests output only basename e109eba
  • [dist] Version bump. 0.8.0 5055689
  • Revert "[dist] Adjusted engines field to allow for 0.6; version bump 0.7.7" 1e33434
  • changeOrigin option: set the host header to the proxy destination f27d26f
  • [dist] Adjusted engines field to allow for 0.6; version bump 0.7.7 30dac89
  • [fix] In routing proxy, match line beginning 63dfc7f
  • [v0.6] Don't use agent.appendMessage() 6655e01
  • bump version 0.7.4 3dfba2b
  • bump version 0.7.6 c5dc929
  • Revert "update outgoing.headers.host incase the destination does proxying" 2061c71
  • update outgoing.headers.host incase the destination does proxying 65b7872
  • bump version 0.7.5 b4d41c3
  • [minor] Fix indent on timeout notice c4124da
  • [minor] Change test runner output order b76680b
  • grammar correction 729496d
  • [dist] Test runner depends on async 219b0ff
  • [test fix] Remove unnecessary console.log in tests/websocket/websocket-proxy-test.js f188f4f
  • [test refactor] test/core/{run => run-single} 004be38

v0.7.3 - 2011-10-03

Commits

  • added what is necessary for having proxyError on Routing proxywq b7adf86
  • [dist] Version bump. 0.7.3 db185bb

v0.7.2 - 2011-09-30

Merged

  • [fix] Examples have working require paths now. #118

Commits

  • [fix] Fixed require paths in examples 2e8d4c6
  • [websockets] add latest websockets support 45ef87e
  • [dist] Version bump. 0.7.2 ccccc45

v0.7.1 - 2011-09-21

Merged

  • Readme fixes #114
  • #107: Set x-forwarded-for header (amongst others) #110
  • command line tool - make sure targetPort is an integer #109

Fixed

  • [dist] Version bump v0.7.1, closes #107 #112 #107

Commits

  • [test] Added a test for the "x-forwarded-for" header 66e9820
  • [docs] Updated examples in README.md for 0.7.x API. 24ef919
  • [examples] Updated examples to v0.7.x API. 8fc8d96
  • [examples] More fixes to examples. 549360a
  • [fix] x-forwarded http headers should set properly. 2677bb6
  • [fix] connection.socket -> socket for source of x-forwarded-for data 1f33943
  • Make sure the target port is an integer 5ba25aa

v0.7.0 - 2011-09-10

Fixed

  • [fix] Add x-forward-* headers for WebSocket requests. Closes #74 #74
  • [doc] Document setMaxSockets. Fixes #81 #81

Commits

  • [api test dist] Stubbed out the API for the higher-level RoutingProxy object to be exposed by node-http-proxy 5927ecd
  • [api] Finalized the RoutingProxy API f765f90
  • [minor] Move private methods to the bottom of file(s) ec03d72
  • [test] Updated tests to reflect finalized API of the RoutingProxy 734769f
  • [api doc] Rebuilt httpProxy.createServer() with the newer high-level RoutingProxy API 598fe2e
  • [minor] Remove commented out debug statements. 5575bcf
  • [doc] Updated examples 13eaec5
  • Add flow control 6a7fd14
  • Add flow control 2b9e09b
  • Emit drain if it doesn't happen on its own in 100ms 37e2541
  • resume() can throw 558a8a4
  • [fix] Memory leak hunting. ca1d12c
  • Emit drain if it doesn't happen on its own in 100ms 84be9f2
  • resume() can throw 0c71119
  • [dist] Update examples/package.json to conform to nodejitsu style guidelines 2937229
  • Fixed large DoS vector in the middleware implementation 0e36912
  • [api] Added new close() method which cleans up sockets from HttpProxy instances 0eae2a9
  • Fixed large DoS vector in the middleware implementation 07c8d2e
  • [minor] More contextual errors when middleware(s) error 38315f6
  • [dist] Update scripts in package.json 6e1ade0
  • [dist] Version bump. 0.7.0 0182ba3
  • [merge] Merge from significant internal refactor in v0.7.x. No external API changes f7010e5
  • [minor] Small update to bin/node-http-proxy 2cd8256
  • [dist] Update .gitignore 6c1c554
  • [doc] Update README.md 0ba5023
  • [doc] Drop version number from README.md. bdf48be
  • [dist] Version bump. 0.7.0 00e34a1
  • [test] Whitespace fix 3a4d312
  • [dist] Reorganize examples based on classification(s): http, websocket, or middleware 81d6c31

v0.6.6 - 2011-08-31

Commits

  • Memory leak hunting. f4fcf93
  • [fix] Add guards to every throw-able res.end call e1c41d0
  • [fix] Only set x-forward-* headers if req.connection and req.connection.socket de4a6fe
  • [dist] Version bump. 0.6.6 967884c

v0.6.5 - 2011-08-29

Commits

  • [fix] Use req.connection for all x-forward-* headers f6dc12a
  • [dist] Version bump. 0.6.5 7beead5

v0.6.4 - 2011-08-28

Fixed

  • Fix #95 Don't look on req.connection if it's not set. #95

Commits

  • [api breaking] Begin refactor to optimize node-http-proxy by managing one instance of HttpProxy per host:port location d2b0e43
  • [api test] Updated httpProxy.createServer() for new API exposed by simplified HttpProxy object. be4562d
  • [test fix] A few minor fixes to ensure basic WebSocket tests are working. Better scope tests by supported protocol daf9231
  • [test] Updates for readability db10c4a
  • Add guards to every throw-able res.end call 7bda25b
  • [minor] Dont use .bind() 340be42
  • [dist] Version bump. 0.6.4 216d46d

v0.6.3 - 2011-08-28

Merged

  • This adds a flag to ProxyRequest to disable the setting of x-forwarded-[for|port|proto] #73

Fixed

Commits

  • [minor] Style updates and whitespace cleaning for consistency f0917a3
  • [api] refactor out middlewares from examples. 2cf4e0a
  • [docs] add middleware examples (first draft) 020290a
  • [fix] use routing table mhen proxying WebSockets. efa17ef
  • Tested & fixed url middleware example, added comments. 4cc18f4
  • [minor] add middleware to node-http-proxy b54666f
  • [minor] add middleware to node-http-proxy c773eed
  • [minor] add url-proxying middleware example 45f3df8
  • [fix] Removed bad example. 2626308
  • [minor] add example to test concurrency 6ec8d6c
  • [minor] add example of using middleware to gzip response d3c0697
  • support old (port,host) and (options) style when using middlewares 7976de1
  • [minor] Added body decoder middleware example. Needs fixing. 8eaec35
  • [minor dist] Use pkginfo. Minor updates to variable scoping in .createServer() 5d0bbb3
  • [doc] add comments to examples/url-middleware.js f6484de
  • Handle cases where res.write throws be3a0d8
  • [minor] code style changes 8b48b7e
  • [doc] note in readme about middleware b5d5eaa
  • Allow forwarding for x-forwarded-[for|port|proto] to enabled layering of http-proxies. 404818b
  • [style] tidy 0f8fe8e
  • [fix] do not use middleware code if it's not needed 2012588
  • [minor] minor fixes to gzip middleware example caa1f49
  • [minor] default enableXForwarded to true e3d95ec
  • Updating to enableXForwarded ee3506a
  • [api] Expose adapted version of stack so it can be used with HttpProxy instances not created by httpProxy.createServer() 5d6e6b9
  • The number of maxSockets has to be set after the agent is created. Setting the property in the constructor does not work. 2caa5d2
  • [fix] Dont use res.* in proxyWebSocketRequest f7452bc
  • [fix] fix syntax errors. close issue #86 b8f8499
  • [api] merge middleware branch e6ff8d6
  • [dist] Version bump. 0.6.3 1389b70
  • merged 5ba0f89
  • [fix] handler variable in createServer was global (!) 25c06a3
  • [dist] bump version 6.0 03475a5
  • [dist] bump version 0.6.2 d8068a8
  • [dist] bump version 5.12 5d33ad7
  • [dist] bump version 0.6.1 fea371d
  • [fix] broken RegExp 549bfea
  • [doc] add note on middleware to Using node-http-proxy section of the README 5bf2d59

v0.5.11 - 2011-06-26

Fixed

  • [api] Simplify the usage for the .changeHeaders option. Fixes #34 #34

Commits

  • [api doc test] node-http-proxy now emits websocket:* on important WebSocket events. Added tests for these features and updated some code docs 4f85ca0
  • [doc] Updated docco docs f0649d8
  • [doc] Added examples/latent-websocket-proxy.js fcfe846
  • [doc] Added sample for custom error messages using the proxyError event 4cdbf0e
  • [doc] Add examples/standalone-websocket-proxy.js 1ee8ae7
  • [dist] Version bump. 0.5.11 baf0b9e
  • [doc] Small update to code docs 9d9509f
  • [minor] Add missing space b608a02

v0.5.10 - 2011-06-13

Commits

  • [refactor] Manage our own internal list of Agent instances 887c580
  • [doc] Update docco docs for 0.5.9 b4ac4d4
  • [test] Update tests to use localhost a1cdf00
  • [dist] Version bump. 0.5.10 7b574d3
  • [doc] Bump version in README.md 653c6ca

v0.5.9 - 2011-05-23

Commits

  • [fix] Change sec-websocket-location header when proxying WSS --> WS. Added test coverage for this scenario 028d204
  • [dist] Version bump. 0.5.9 57ca62c

v0.5.8 - 2011-05-21

Commits

  • [doc] Regenerate docco docs c5fd368
  • [doc] Update docco docs 74120d8
  • [doc] Update to v0.5.7 in code and README.md 6fd272a
  • [dist] Version bump. 0.5.8. Forwards compatible with new versions of nodejs 76ecb51
  • [fix] Dont force Connection: close now that Keep-Alive is supported a86d18b
  • [test] Update to vows description for web-socket-proxy-test.js a865fe6

v0.5.7 - 2011-05-19

Commits

  • [api] Add x-forwarded-proto and x-forwarded-port to proxied HTTP requests 421895f
  • [dist] Version bump. v0.5.7. Only good on node v0.4.7. See issue #48. 0911c17
  • [fix] Set x-forwarded-for from req.connection.socket.remoteAddress if req.connection.remoteAddress is not defined e9b3ec9

v0.5.6 - 2011-05-19

Commits

  • [fix doc] Add error handler to reverseProxy request when proxying WebSockets to prevent unhandled ParseError. Rename some variables in proxyWebSocketRequest to make the code more readable 76580c2
  • [doc] Regenerate docco docs bd45216
  • [api minor] Small refactor to emit webSocketProxyError from a single helper function on any of the various error events in the proxy chain 5d2192e
  • [api] Manual merge of #46: add custom proxyError event and enable production error handling. 652cca3
  • [dist] Version bump. v0.5.6 Only good on node v0.4.7. See issue #48. f1c0f64

v0.5.5 - 2011-05-19

Commits

  • [fix] Change variable references for Websockets, bugs found from using wsbench 7bf0cae
  • [dist] Version bump. 0.5.5. Only good on node v0.4.7. See issue #48. acacc05

v0.5.4 - 2011-05-19

Commits

  • [doc] Update docco docs faf2618
  • [doc] Update README.md to reflect the new HTTPS to HTTP proxy capabilities abc01bc
  • [doc test api] Improve node-http-proxy API to allow for HTTPS to HTTP proxying scenarios. Update tests accordingly. 895f577
  • [doc] Update examples for HTTPS to HTTP proxying 91737fa
  • [dist] Version bump. 0.5.4. Only good on node v0.4.7. See issue #48. c04eec1
  • [minor] Update README.md to conform to Github flavored markdown 32a15dd
  • [minor] Update README.md to conform to Github flavored markdown 521fe27

v0.5.3 - 2011-05-18

Commits

  • [test] Continued work around Origin mismatch tests 44a8566
  • [doc] Regenerate docco docs 9e36d2d
  • [fix test api] Only change Origin headers in WebSocket requests when the changeOrigin option is set explicitly. Added tests to ensure Origin and sec-websocket-origin headers match when proxying websockets. 9c6c4b9
  • [test] Improve websocket tests to inspect outgoing and incoming HTTP headers to test origin mismatch bugs 6e679c8
  • [test] Refined tests to begin checking Origin == Sec-Websocket-Origin 9ab54ab
  • [doc minor] Update docs and code docs for v0.5.3 release 03b9087
  • [dist] Version bump. v0.5.3. Only good on node v0.4.7. See issue #48. d9fa261

v0.5.2 - 2011-05-17

Merged

  • Readme: fix syntax error, reformat code blocks #52

Commits

  • format markdown for syntax highlighting on GitHub 28f6dc1
  • [doc] Regenerate docco docs a5e1e3e
  • [test] Fix tests in https mode 1ee6bef
  • [fix] Manage bookkeeping for incoming requests to the underlying sockets behind reverse proxied websocket events. Only use the appropriate variables in the closure scope of the upgrade event from this bookkeeping 85223ea
  • [minor] Fix syntax in examples/ ff82946
  • add spacing around code blocks to fix README rendering ab8c264
  • [dist] Use devDependencies in package.json e6c52d4
  • don't highlight non-javascript as javascript d5b9ba7
  • fix syntax error in README example 332d2d7
  • [minor] Ignore npm modules and debug logs e90cbd6
  • [dist] Include docco module as a dev dependency d08c2bb
  • [dist] Version bump. 0.5.2. Only good on node v0.4.7. See issue #48. 360e79a

v0.5.1 - 2011-05-10

Commits

  • [dist] Version bump. 0.5.1. Only good on node v0.4.7. See issue #48. 6c80177
  • Revert "Fixed "Invalid argument to getAgent" when proxying HTTP" 40dc9de
  • [fix] Fix typo in bin/node-http-proxy 57127a3
  • Merged pull request #39 from timmattison/master. ac425d7
  • Fixed "Invalid argument to getAgent" when proxying HTTP 642e158

v0.5.0 - 2011-04-17

Commits

  • [doc] Breakout demo.js into files in example/. Add web-socket-proxy.js example 6e4bf6a
  • [api test doc] Improve HTTPS support. Update minor documentation. Change tests accordingly. bf68dc3
  • [api] Update WebSocket support to use http.Agent APIs b0b0183
  • [api] Update .proxyRequest() and .proxyWebSocketRequest() APIs to take an options hash instead of a set of arguments. Add HTTPS support. cfddd12
  • [doc api] Update README.md and CHANGELOG.md for v0.5.0. Update bin/node-http-proxy to read files specified in config.https 212009d
  • [test] Add WebSocket tests 4d18ac1
  • [doc] Regenerate docco docs c485c87
  • [doc test] Small updates to README.md. Update to try require socket.io 12064d8
  • [api] Remove winston logging in favor of custom events a89b397
  • [doc] Update README.md bd6a262
  • [dist] Version bump. v0.5.0 ddf31b2
  • [api] Update request event to be consistent by emitting both req and res. Add x-forwarded-for header. a3cb527
  • [api] Emit end event when done proxying 5681fc1
  • [minor] Small update to README.md 40c51a7
  • [dist] Move pgriess' websocket client into vendor/* 7cbf447

v0.4.2 - 2011-04-13

Commits

  • [dist] Version bump. 0.4.2. Remove eyes dependency. a5d88aa

v0.4.1 - 2011-03-20

Commits

  • [dist] Version bump. 0.4.1. Fix package.json 0d1a3fe

v0.4.0 - 2011-03-20

Commits

  • [api] Further work on refactor for node 0.4.0 e39a9f9
  • [doc] Added docco generated literate coding documentation 3bc7d16
  • [doc api test] Wrap things up for v0.4.0 release: Add hostnameOnly routing to ProxyTable, add more documentation, fix edge-cases until they can be further investigated in node.js core 5715318
  • [api] First pass at removing pool and working with node v0.4.0 9faa924
  • [doc api test] Rename HttpProxy.pause to HttpProxy.resume. Update documentation and tests accordingly 4110448
  • [doc] Added more documentation 973f19f
  • [doc] Regenerate docco docs 6c42f04
  • [api] Force connection header to be close until keep-alive is replemented 3fd3c96
  • [dist] Version bump. 0.4.0 cbb5fbc
  • [api test] All tests are passing when run as individual files 389159d
  • [minor doc] Update demo and small fix to node-http-proxy d8c5406
  • [fix] Fixed cli parsing issue when --argument=value is not used 34cba38
  • [test] Small update to proxy-table-test.js 3588687
  • [minor] Expose version on module 1dd9b3b
  • [doc] Update to v0.3.1 in README.md 8ef2e1f
  • [dist] Change package.json for npm version bump 0e7f362

v0.3.1 - 2010-11-22

Commits

  • [api test doc] Updated tests. Added ProxyTable functionality bedc7a3
  • [test] Simplified tests. Added tests for experimental websocket support 8c3e993
  • [test doc api] Added forward proxy functionality with tests c06f4bf
  • [dist minor] Removed vendored pool. Changed all references of sys to util 8251296
  • WebSocket proxy support, fixed 304 code halting 7249ef3
  • [api] pseduo-vendor pool until pull request is finalized 7c2eb5d
  • No-server fix f84880f
  • [api test bin doc] Added bin script and simple logging 00014d6
  • [debug] Removed pool as a dependency for stress test 73381cf
  • 'end' event becomes 'close', added more try-catch handling cd78af5
  • Added support of automatic websocket tunneling, added test for it 56003b5
  • [debug] Better debug messages to try to determine if pool is slowly losing clients to forever busy dd1918d
  • [doc dist] Version bump. Added CHANGELOG.md de53d5e
  • Moved error handling to response.on('end'), fixed error handling in websocket's part 7e61f0c
  • [minor] Pushing hot-fix from Mikeal for vendored pool repo 60791f3
  • [api] Integrated commits from donnerjack and worked on pool changes 3bb458e
  • [doc] Updated Copyright ... added Fedor 9128a8c
  • [minor] Listen to error event on pool so we dont fail out unexpectedly anymore 711258e
  • adding more debugging messages 5d54ea5
  • adding some debug messages for live testing 4069a7e
  • [minor] Listen to error events re-emitted by pool into the ClientRequest f8bff4c
  • [minor] Updated max clients for pool 32aaf74
  • [debug] Trying to repair pool busy client growth 7b0ea85
  • [debug] Roll back last commit ... connection = close was ineffective 266e524

v0.3.0 - 2010-09-10

Commits

  • [api] Revert to old 0.1.x codebase for bug testing and performance comparison 66afb2a
  • [api test dist doc] Updated for 0.3.0 release a9084b9
  • [api] Object creation is cheap for HttpProxy, so lets take advantage 9f0aeac
  • [doc] Update contributors for 0.3.0 6d47d98

v0.2.0 - 2010-09-07

Commits

  • [dist] Version bump and update to README + LICENCE. Word to Mikeal for coming thru for 0.2.0 69c162d
  • [api dist] Merge of branch 0.2.0 fd61828
  • [api] Completely refactored node-http-proxy with help from Mikeal 1221939
  • [api minor debug] Remove debug code, set Connection header if not set 6d08f24
  • [debug] Added some debugging to figure out why AB wont complete a test with v0.2.0 9715ebd
  • [api] Integrated a little more from Mikeal to make our return headers consistent eb39018
  • [doc] Updated README.md f291efb

v0.1.5 - 2010-09-02

Commits

  • [api] More changes for createServer api 5d94ae2
  • added colors and asciimo d490b50
  • [api] First commit of http-proxy 30b68c1
  • updating demo c4b7c0d
  • initial release v0.1.0, sure to have many updates coming. 85f7372
  • fleshing out demo 994f748
  • [docs] added benchmarks bbed176
  • updated paths to use npm 972c8c0
  • added spark demo d0ad931
  • [test] Updated tests to include support for latent requests 095e86a
  • started to flesh out simple demo based on tests 2fb5ffb
  • added createServer but hated it, gonna remove b1eb13e
  • [test] Updated node-http-proxy tests 2f265a2
  • [api] Updated request hashes to use a unique identifier c887a75
  • [api] Updated http-proxy to work with vows ead7567
  • [dist] Renamed node-proxy to node-http-proxy, updated package.json 2f49810
  • updating docs, almost there 6e651f4
  • changed api to better reflect nodes api. updated demos, tests, docs bde98f4
  • updating docs 341bbd4
  • fixed npm package, i think. bumped version 0.1.1 fca40da
  • updated demo b622702
  • added readme d6a2f8a
  • [api] Corrected chain of argument passing da55777
  • updated demo e9511ea
  • [deploy] Added package.json dce80b9
  • updated readme 76d0649
  • update to docs and package.json d15bba4
  • [minor] Removed eyes dependency eaeed83
  • merge 93505a4
  • fixed additional port / server mismatches for new api 15c18b6
  • [doc] added nodejitsu.com link to ReadMe. http-proxy is used in our front facing load-balancers. look for bugs...try to improve benchmarks.... ^_^ 6661753
  • removed extra self, updated colors requirement, bumped to version 0.1.3 9bc5b6f
  • fixed pathing issue, bumped version 0.1.3 ede6490
  • updated docs 07d96bb
  • updated docs 1594367
  • updated readme fb8c5ab
  • updated docs 17b6c69
  • updated docs c8dd8c4
  • updated package.json again ddba155
  • initial release v0.1.0, sure to have many updates coming. 6a1baa2
  • bumped to version 0.1.5 b195a16
  • updated readme 9aa2216
  • added spark demo d408e39
  • bumped to version 0.1.4. improved on api 82b8228
  • initial release v0.1.0, sure to have many updates coming. 1e04552
  • updated readme 0a2eaaa
  • updating docs 198000f
  • [api] Added createServer api to node-http-proxy 2e2b55f