Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vapi-ai/http-proxy

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vapi-ai/http-proxy - npm Package Versions

1.18.5

Diff

Changelog

Source

1.18.5 - 2024-04-28

Merged

  • Skip sending the proxyReq event when the expect header is present #1447
  • Remove node6 support, add node12 to build #1397
  • 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
  • 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
  • [WIP] Revert default behavior of writeHeaders method #1104
  • 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
  • Add proxy-timeout option to documentation #1075
  • Properly write response header optionally including statusMessage #1061
  • 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
  • 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
  • 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 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
  • README.md: summary to specify reverse proxy #932
  • fix(common) urlJoin replace: ":/" -> "http?s:/" #947
  • Update README.md #948
  • Fix for #839 (Ignore path and the trailing slash) #934
  • Update license year range to 2016 #943
  • 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
  • Issue #896: provide a "proxyReq" event also for websocket connections. #897
  • Removed unspecified trailing slash in proxy url #893
  • Updating the upgrading doc #892
  • Update gzip-middleware.js #870
  • Fix broken option list indentation #863
  • Added missing configuration options #852
  • Added installation instructions #823
  • fixes comment #817
  • [api] add an ignorePath option if you want to disregard the path of the ... #759
  • Fix default port detection with node 0.12.x #799
  • Fixes / additions to URL rewriting #787
  • Fix #747 #798
  • 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
  • Fix variables scope in test #752
  • Fix typo #751
  • Fix grammar in README.md #749
  • Adding harmon to the README #716
  • 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
  • do not modify the query string #733
  • websocket needs to respect options.secure too #729
  • changeOrigin option docs fix #724
  • Added changeOrigin option with test and docs #723
  • I presume you mean couchdb here #717
  • update modify request body eg #712
  • close socket if upstream request fails #709
  • close websocket if proxyReq is closed before upgrade #708
  • 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
  • Urgent: Fix breaking bug on url joining resulting in paths like ///path. #699
  • Trimming contents of distributed npm package. #644
  • Remove changelog - it was not maintained #669
  • Removed duplicated imported dependencies #695
  • Allow proxy to maintain the original target path #693
  • Clarify usable parameters for 'proxyRes' event #686
  • Added functionality to close proxy. #679
  • [api] Add event-based ability to modify pre-flight proxy requests. #673
  • Fix simple-balancer example #666
  • Added proxyTimeout option and two tests for timeout #658
  • proxyRes event, provide access to the req and res objects #642
  • Don't override connection header if Upgrading #640
  • Update UPGRADING.md #616
  • Fix for #591 #592
  • Add Repository field to package.json #578
  • Fix doc: option lines #575
  • 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
  • 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
  • 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
  • Pass default certs to SNICallback example #419
  • Correct keep-alive responses to HTTP 1.0 clients #407
  • Fix for slab buffer retention, leading to large memory consumption #370
  • 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
  • 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
  • http-proxy: 304 responses should emit 'end' too #337
  • lib: allow overriding maxSockets #323
  • 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
  • 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
  • [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
  • 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
  • [fix] Examples have working require paths now. #118
  • Readme fixes #114
  • #107: Set x-forwarded-for header (amongst others) #110
  • command line tool - make sure targetPort is an integer #109
  • This adds a flag to ProxyRequest to disable the setting of x-forwarded-[for|port|proto] #73
  • Readme: fix syntax error, reformat code blocks #52

Fixed

  • Fix "Can't set headers after they are sent" errors #930
  • Include websocket non-upgrade response #890
  • Restream body before proxying (#1027) #955
  • Sanitize header keys before setting them (#997) #996
  • Merge pull request #798 from damonmcminn/master #747
  • Fix https://github.com/nodejitsu/node-http-proxy/issues/747 #747
  • 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
  • [fix] use simple regex instead of indexOf to check the protocol to support without the colon fixes #711 #711
  • [fix] properly include port in host header with changeOrigin in all cases fixes #750 #750
  • [fix] fix #738 #738
  • [fix] simple fixes #748 #744 #746 #748
  • do proper checking for a pass not existing. fixes #671 #671
  • Fix #657 #657
  • Fix #657 #657
  • [fix] always be an eventemitter for consistency fixes #606 #606
  • [api] add toProxy method to allow absolute URLs to be sent when sending to another proxy fixes #603 #603
  • Close outgoing ws if incoming ws emits error #559
  • [fix] closes #555 #555
  • [fix] closes #553 #553
  • [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
  • 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
  • Pass default certs to SNICallback example #399
  • [minor] Style compliance. Fixes #402. #402
  • [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
  • [fix] Convert strings to numbers if possible in .createServer #321
  • Merge pull request #256 from nodejitsu/changelog #137
  • [misc] Updating the changelog. Close #137 #137
  • [fix] Avoid Transfer-Encoding: chunked for HTTP/1.0 client, closes #59. #59
  • [dist] Version bump v0.7.1, closes #107 #112 #107
  • [fix] Add x-forward-* headers for WebSocket requests. Closes #74 #74
  • [doc] Document setMaxSockets. Fixes #81 #81
  • Fix #95 Don't look on req.connection if it's not set. #95
  • Merge branch 'patch-1' of https://github.com/KimSchneider/node-http-proxy #80
  • [api] Simplify the usage for the .changeHeaders option. Fixes #34 #34

Commits

  • [nuke] old files a4ee8f9
  • [fix] more jshint intendation 17399e7
  • added auth header test df158bf
  • added auth header test ff1626f
  • add index.d.ts from definitely typed 42a38b5
  • [examples] updated websockets examples ed8c9ee
  • [tests] removed unused tests 7e25bde
  • [tests] Added a test case for run all the examples bc236d7
  • Organized README more cd1d777
  • [tests] drop the test of own streams, moved the usable tests dc9d7e5
  • [refactor minor] s/caronte/http-proxy/ or s/caronte/httpProxy/ where appropriate. bb0d28c
  • [examples] updated bodyDecoder middleware example c82ff2c
  • [examples] update forward and custom error examples b726116
  • [tests] make the tests run with the last refactor 5bb83b9
  • [examples] deleted this examples bdeabb7
  • [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
  • [examples] added error-handling using callbacks and HTTP-to-HTTPS examples d7064f2
  • [examples] updated old examples 588327c
  • [dist] Update LICENSE to reflect 2015 changes. f345a1a
  • [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
  • Enable proxy response to have multiple Set-Cookie raw headers #1101 8cb451f
  • Added targetTimeout option and two tests for timeout 0f24351
  • [tests] move contributions of @mmoulton to correct place 7c72f3b
  • [tests] this file is not necessary anymore 881c7e6
  • [fix] remove trailing whitespaces 0aeaba7
  • [test] added tests for web-outgoing.js 16a4d9d
  • [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
  • [docs] upgrade UPGRADING.md e599151
  • [examples] fix the copyright header of example files e592c53
  • [feature] start working on the new server b79bd29
  • ENH: updated examples f566a42
  • [examples] updated the modifyResponse-middleware example de3ff11
  • [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
  • Add tests for testing forwarding of continuation frames 64fa520
  • [dist] add semver and normalize package.json with --save-dev 1b89bc9
  • [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
  • Add followRedirects option c9a556c
  • :pencil: Add host rewrite docs and specs. add8133
  • Do not rely on func.name (no scope) 61c2889
  • [dist] New test fixtures. 7e4a0e5
  • [test] add test for selfHandleRequest and remove modifyResponse as selfHandleRequest is the only way that functionality works 4a37175
  • [tests] added HTTPS to HTTPS test 31d919b
  • [dist] End of an era. a9b09cc
  • Adding ability to set cookie path 2c98416
  • Provide a "proxyReq" event also for websocket connections. a05fc2d
  • Added close method to proxy server. a3d0219
  • [docs] Update readme with more how to ae0faef
  • [fix] remove duplicate 10c0f11
  • [tests] added test for socket.io proxying 10a0db4
  • [tests] added test HTTPS to HTTP using own server bbe3bfd
  • refactor some tests for greater readability 14415a5
  • [examples] update the error-handling example using the new error handle way a1b25a1
  • cool 6c1b5ca
  • test new detection of connection: upgrade ec683b9
  • Adding test cases on preventing upgrade override 8aa7c51
  • [tests] fixing tests, fixed some typos and changed how passes are stored a704213
  • Updating docs and adding more tests. f5c2381
  • test closing upstream socket prior to upgrade 7730548
  • Added websocket set-cookie headers test 855cebd
  • [fix] make more functional cea0e86
  • [tests] the options got a problem and this test probe that timeout is not being set 1d1ee88
  • [dist] make tests work reliably, add package-lock.json 09dcb98
  • Do not rely on func.name (no scope) d48f67e
  • fix tests for maintaining proxy path a65021d
  • Pass HTTPS client parameters. 402ab05
  • [api] export the httpProxy.Server as the main export but preserve the createServer factory 182c76c
  • [examples] added concurrent proxy example 04c1011
  • only rewrite redirect urls when it matches target 26029ba
  • [fix] closes number #487 cde08fb
  • [tests] added tests for websockets 02007ed
  • [examples] added forward example 7a3f6df
  • Revert "[fix] fixed options and server reference to can access them from passes functions" babdf53
  • [fix] fixed options and server reference to can access them from passes functions 90fb01d
  • Added back to top helpers 6106d4c
  • Added websocket close event test 8bff3dd
  • emit socket in open f2076e9
  • add support for modify response e5c02b8
  • [test] add tests for the changeOrigin cases in properly setting the host header 71a06aa
  • [minor] Added missing JSDoc comments 73e8a4c
  • Add a test for the proxyRes event 1385635
  • [docs] add UPGRADING.md db12f6c
  • [dist] Version bump. 1.18.0 9bbe486
  • Deprecated proxySocket event in favor to open event. c62610e
  • DOC: Added error handling example 32a4088
  • Modify the set-cookie header fix to work with node 0.10.x. da674ec
  • [doc] update docs with toProxy option ece85b4
  • ENH: updated agent options in common.setupOutgoing 12cda56
  • Expose full callback names 220f5fb
  • Fix breaking bug on url joining resulting in paths like ///path. 73d865b
  • [misc] add a LICENSE file 584ce76
  • ENH: updated https and agent option 13741a8
  • [fix] write connection header 2c10f25
  • test case added f5217d6
  • [fix] merge #495, thanks @glasser d0862af
  • [wip] proper tests and reporting f4ff100
  • [fix] style changes 7c5e40a
  • [fix] cleanup and stylize close function 261742a
  • [tests] fix tests set correct host headers cfd417d
  • fix protocol and default port detection on node 0.12.x, compatible with 0.10.x 5f14bca
  • [fix test] handle proxy error since we are properly aborting the proxy Request 61c8734
  • [fix] Optimize fix for x-forwarded-for-port. 2d42709
  • Add detail about "buffer" option 6f88caf
  • Add use case for proxy to HTTPS using a PKCS12 client certificate d2f9db8
  • [fix] style nits d0f1dfe
  • [fix] handle error on incoming request as well and properly abort proxy if client request is aborted 77a1cff
  • [doc] update README.md dcb873a
  • [dist] Update .travis.yml to be more modern. 302d981
  • [fix] replicate node core behavior and throw an error if the user does not add their own error listener daad470
  • Revert "[fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options'" 5e130de
  • [fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options' 9b3e1eb
  • [test] add test for prependPath option e44fabe
  • [api] emit a start an an end event 8b48a9f
  • [examples] fix styling and bad spaces 6a6dfbb
  • [minor] Remove duplicate dependencies and cleanup of the scripts a51b062
  • TEST: added agent and header tests 39b0c46
  • [test] add proper failing test case for #738 410a8ce
  • [test] for override method feature 81d58c5
  • [examples] fixed https examples a467b7b
  • [fix] use the correct arguments order cc09ae6
  • Revert "[tests] fix test to use the new way to pass options" 2bf20d6
  • [tests] fix test to use the new way to pass options 52ecd52
  • [fix] better code 3d8e538
  • [test] remove chunked on http1.0 ca09263
  • [dist] doc updates e94d529
  • [fix] fix the correct order of arguments in ws-incoming passes 02df9a3
  • [test] show that we support protocol without the colon 89f9ca1
  • [Bugfix] Allow for multiple ? in outgoing urls. 70ed1c4
  • updated close function for safety 8be9d94
  • feat: 添加response自处理参数 89f9ef8
  • Add test for https://github.com/nodejitsu/node-http-proxy/issues/747 d145152
  • Update the README to describe middleware err handler. 25bb3bf
  • [fix] finished jshint fixes 455f97e
  • [dist][test] codecov config a4bccc3
  • [dist minor] 2 space indents next time @samalba 7e8041d
  • Prevent headers to be sent twice 8332e74
  • [examples] added package.json with the dependencies needed by examples d85ccdd
  • [tests] added .travis.yml file 0602500
  • emitting proxySocket on proxyServer 000eb53
  • [fix] set connection to CLOSE in cases where the agent is false. 89a22bc
  • Fix for #458. Host header may cause some sites not to be proxyable with changeOrigin enabled 781c038
  • [docs] typos, typos everywhere... 03880d8
  • [fix] a9f9e21
  • modify index.d.ts for new emit c14ab4f
  • [minor] style consistency 48ae5d8
  • Updated to support error callback on proxy.web and start/proxyReq/end continue working. 9ba8311
  • Change name targetTimeout to proxyTimeout 7b79a74
  • [minor] style ccad177
  • added option for eventlistenerCount(max) 8eb6780
  • [fix] support buffer 1204a35
  • DOC: updated readme with options 1b5fb1d
  • [fix] coveralls.. will it work? f36cb4d
  • @xtreme-topher-bullock - update package.json to have proper repository key and formatting 68fa17b
  • ENH: added 'headers' to available options, to add or overwrite existing headers 7d840d3
  • [fix] Latest versions. 59c4403
  • [fix test] Update tests. dd1d08b
  • Removing unnecessary check since this is a private API bc6a237
  • [ci] use node 4.2 to test and do not allow failures f82ce18
  • [fix] bump requires-port, server and ws 9ea1e89
  • Use raw headers instead parsed. 8bfd90c
  • fix expected error message when node 0.12.x 0ee314c
  • force cipher AES128-GCM-SHA256 in https tests c33d161
  • [fix] style spacing wtf ea0a4de
  • [api] add close event in ws-incoming.js 2653786
  • style changes 84036e9
  • [api] add prependPath option to go with path change 9a534c6
  • Fix proxy path 511b7b3
  • [dist] Version bump. 1.0.3 07fceb7
  • [dist] Bump dependencies. a81dd8d
  • fix docs 9243444
  • [tests] this test is already in web-incoming tests 920f1e7
  • FIX: tests. still need to add more tests tho a350fad
  • [fix] do not send chunked responses to http1.0 clients 8663ac1
  • [docs] add travis build status 6b61878
  • issue #953: stop using writeHead 2c44039
  • [fix] move badges 543636d
  • Updated markdown docs to mention proxy rules eea79ca
  • auth header added ab5c3e5
  • [dist] pin down deps and add requires-port 81874f7
  • harmon notes 9f684d0
  • [fix] ensure path works on windows because path.join doesnt like URLs ed73f06
  • Emit middlewareError when on middleware error. bc12ca3
  • [feature] add buffer support e3f8d5f
  • DOC: updated readme 7ad5c0f
  • emit socket in close 9afc64d
  • fix small typos in README 8231984
  • 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
  • Fixed tests depending on ignorePath f9540de
  • fixes after PR review 9752652
  • Replaced Object.keys().map with for in loop. 3d2350c
  • [minor] grammar f304861
  • Changed proxyServer and destiny to local variables. 8a8a894
  • [fix] be defensive and ensure location is in headers before running url.parse() 8d68ac0
  • [minor] Code style adjustment. 3ab6e95
  • Clarify usable parameters for proxyRes event. 49a0de1
  • [fix] emit an error if proper URL is not passed in as a target 37036dd
  • [api] also emit the target on a proxy error d1baa36
  • Add support for localAddress e633b0f
  • [fix] remove caronte d6d2d0c
  • [fix] ee3 error handling d23353d
  • [fix] comments 6fa23e1
  • added unlimited listeners to the reverproxy event obj. 1333c0c
  • [fix] legacy 162a42f
  • [tests] fix test using undefined url c4d56a5
  • attempting to fix link to valid options properties bbe2b27
  • [tests] throw error when no options, ALL TESTS PASSING! YAY 86750c7
  • [tests] fixing minor typos b333e63
  • [misc] use the local mocha instead the global f1aeb05
  • [dist] document the feature d533a1b
  • Added timeout option to docs 107c187
  • [fix] properly support iojs with test checking for HTTPS c6dfb04
  • [minor] this shouldnt be in var block 3f19e6e
  • [fix] do a check to make sure the server exists before we try and emit 10a294a
  • [fix] perf optimization so we have a precompiled regexp c0a796b
  • use regex to check for upgrade header 65a21bc
  • ENH: updated example 1c7ace2
  • [test][misc] remove node@0.8 to test on travis 8eff1a1
  • [dist] Update dependency ws to v3 [SECURITY] b00911c
  • Update common.js c5d8466
  • [fix] slightly more tolerant de1b808
  • Forgot 'i' flag when changing from regex shorthand to string. 50f58b4
  • [dist] Version bump. 1.16.1 ac1a01b
  • With a comment fbc2668
  • Fix browserification 8eddf45
  • not setting connection header in case of http2 as it is deprecated 2d01edc
  • [dist] Version bump. 1.15.1 912cd3a
  • [dist] Version bump. 1.15.0 b98c75b
  • [dist] Version bump. 1.14.0 fcfb0b3
  • [dist] Version bump. 1.13.3 5082acc
  • [dist] Version bump. 1.13.2 e1b2f4c
  • [dist] Version bump. 1.13.1 9d9fa94
  • [dist] Version bump. 1.13.0 268994e
  • Added note for appending trailing / when using ignorePath 0cb1d3c
  • No longer appends / to path if ignorePath is set f2093b5
  • README.md: introduction to specify reverse proxy 41414a5
  • [dist] Version bump. 1.12.0 b5a6d0e
  • [dist] Version bump. 1.11.3 60baca5
  • [dist] Version bump. 1.11.2 30e3b37
  • Websocket key was unnecessary long. ca73208
  • [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
  • [dist] Version bump. 1.11.0 934e6c4
  • [dist] Version bump. 1.10.1 0bd446c
  • [ci] add 0.12 and iojs to travis a6ae6c4
  • [dist] Version bump. 1.10.0 1dabda2
  • [dist] Version bump. 1.9.1 21b30b7
  • [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
  • [dist] Version bump. 1.8.1 3311106
  • [dist] Version bump. 1.8.0 f0db5b3
  • [dist] Version bump. 1.7.3 6a330ff
  • [dist] Version bump. 1.7.2 2086e49
  • [dist] Version bump. 1.7.1 56a7b77
  • [dist] Version bump. 1.7.0 276f65a
  • [dist] Version bump. 1.6.2 709b3e9
  • [dist] Version bump. 1.6.1 fa797fc
  • [dist] Version bump. 1.6.0 43641b0
  • [dist] Version bump. 1.5.3 9577a0f
  • [dist] Version bump. 1.5.2 43c6f0c
  • [dist] Version bump. 1.5.1 f0bf741
  • [dist] Version bump. 1.5.0 232258b
  • [minor] extra space e7d50b1
  • Bump version v1.4.3 554f59c
  • [dist] Version bump. 1.4.2 df12aeb
  • [dist] Version bump. 1.4.1 d5c656b
  • [dist] Version bump. 1.4.0 dceef40
  • [dist] Version bump. 1.3.1 fc73828
  • [dist] Version bump. 1.3.0 05f0b89
  • [dist] Version bump. 1.2.1 0a6b424
  • [dist] Version bump. 1.2.0 63c53a1
  • [dist] Version bump. 1.1.6 ed9e12b
  • [dist] Version bump. 1.1.5 7104a7c
  • fix balancer example 9df4bc1
  • [dist] Version bump. 1.1.4 7cb98a4
  • Add the req and res objects to the proxyRes event 1213e46
  • [dist] Version bump. 1.1.3 c472527
  • [dist] Version bump. 1.1.2 c54278b
  • [dist] Version bump. 1.1.1 d908e2a
  • [dist] Version bump. 1.1.0 97ceeb3
  • [minor] missing angle bracket eca765a
  • [dist] Version bump. 1.0.2 4bdc3e4
  • [doc] Fix broken image in npm by using an absolute link 8004f4e
  • [dist] bump v1.0.1 68c5512
  • typo 689459f
  • [dist] Version bump. 0.10.4 840f6d8
  • Put the arguments the right way around in the README. 1457980
  • Put the arguments the right way around in emitter. 7c8ecc8
  • Set travis to run npm test while we fix coveralss.io integration e2a5d51
  • [tests] disabled the examples-test by now d83fdf6
  • [fix] support target and forward 961d2f9
  • [tests] disable test, by now is not throwing without options a2b1f0a
  • [fix] _ because it is unused 590bb60
  • [tests] tests fixed d60353f
  • [fix] minor typo 5d66ce1
  • [fix] minor typo 5a1504f
  • [fix] tests 8269eca
  • [fix] space 69f126b
  • [fix] link 72a89ea
  • [tests] fix code coverage, changed pattern on blanket options 4090250
  • [fix] typo 275a519
  • [docs] fix syntax highlighting da9de70
  • [dist] .gitattributes all the things. fc93520
  • [fix] rm newline e6f24ba
  • add node 6 to travis 2f7f037
  • docs: options.headers c86ae51
  • [ignore] Ignore npm-debug.log a934cb6
  • [ci] remove 0.11.x to avoid failing builds caused by TLS errors 6b83ae4
  • [fix] let user make the decision on what to do with the buffer 4f07dc2
  • [fix] remove old reminescence 4d65280
  • [feature] add emit proxyRes dda6f7a
  • [docs] test badge 1ceea3e
  • [dist] Regenerate package-lock.json. 16d4f8a
  • [tests] remove caronte and use http-proxy for file names c9f5772
  • [merge] PR #470 38e6d7c
  • [fix] default port d166354
  • [tests] added the ws passes test and the streams webscokets test 8b3fe32
  • websocket draft 07551c6
  • [fix] naming 2a59366
  • [docs] readme 886a870
  • stuff e45bfd6
  • socket.io stuff a74cd85
  • [feature] websocket support 79a14ac
  • keepalive sockets dad211e
  • [lib] initial draft to websockets passes 79f7f99
  • [fix] minor 7599cee
  • [test] testing the onResponse proxy method 27df8d7
  • [fix] quote c4ddc4e
  • ENH: updated README and added examples file. 07091b5
  • [experiment] new api for proxying 07cfa6b
  • new error propagation 3a39e44
  • [fix] docs ec981c5
  • mm test file 1a7bef0
  • support websockets 4a4607d
  • [fix] minor and short fixes e0faaaf
  • [test] test onError part, proxying to no where b85aa16
  • support forward 8c8c455
  • ENH: updated readme with an example edd8e2f
  • ENH: added error events 1b867a7
  • [fix] write status e08d4ed
  • [fix] naming 8931009
  • ENH: updated ws and web functions to use the global options object as a base 268afe3
  • write f97c0c6
  • [fix] make @mmalecki a happy camper c9cd6d2
  • ENH: updated target and forward options so that a string may be specified ef946a7
  • [fix] move logo 57abb7f
  • [fix] readme 4d3a4e1
  • [fix] new logo ee3cc38
  • [fix] move logo aaff196
  • [fix] proxying to https 26c4c43
  • [fix] naming convention 7d71a86
  • [fix] short circuit a6256ca
  • [docs] add logo 8b05626
  • Updated readme bd106d6
  • [Fix] 2 spelling mistakes 5823842
  • [fix] do not call .end 6e77cd3
  • [fix] slimmer proxying 031aa0f
  • [fix] use agent pool abf1d90
  • [fix] remove stuff 6a03e5f
  • [fix] opts adc5be0
  • [fix] url 0637322
  • [docs] logo dd0f7b8
  • [fix] layout d7078e2
  • [merge] text 98f29bd
  • new error propagation - follows 1993faf
  • [fix] console 18341d5
  • [fix] proxy to http(s) 3c91ed3
  • [logo] 4c2f2f3
  • merge with @cronopio 0fb3381
  • [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
  • [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
  • [refactor minor] Update vendor/websocket.js to be compatible with node@0.6.x ea7fea6
  • [test fix] A few minor fixes to ensure basic WebSocket tests are working. Better scope tests by supported protocol daf9231
  • [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
  • [refactor test] Add support for http*-to-http* testing from CLI arguments 828dbeb
  • [minor] Move private methods to the bottom of file(s) ec03d72
  • [test] Add common.js file from core 543f214
  • [test] Updated tests to reflect finalized API of the RoutingProxy 734769f
  • [api doc] Rebuilt httpProxy.createServer() with the newer high-level RoutingProxy API 598fe2e
  • [bench] Remove silly "benchmarks" 2bd9cd9
  • [minor] Remove commented out debug statements. 5575bcf
  • [test] Add core test-http-proxy test feb324b
  • [fix api] Optimize lookups in the ProxyTable. Ensure that RoutingProxy can proxy to https by default. 55286a7
  • [test] Add core test-http test 25a9e2d
  • [doc] Updated examples 13eaec5
  • [test] Add core test-http-host-headers test f298411
  • Whitespace fixes. 04ce49c
  • [bench] Add a benchmark for websockets throughput 6797a27
  • [fix] spdy should look like https when forwarding (until we get a client) 698b01d
  • [test] Add core test-http-extra-response test c26ab5e
  • [test] Add core test-http-set-cookies test b3b5cce
  • working on x-forwarded-for 1332409
  • [test] Add core test-http-client-abort test 7bf8d4a
  • [test] Add core test-http-client-upload test 7648fe5
  • Routing Proxy was not sending x-forward-*. Fixing It... 916d44e
  • [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
  • Add tests for headers bug fixes ecb5472
  • [test] Add core test-http-many-keep-alive-connections test 4e1ca6e
  • [test] Add core test-http-chunked test d7461f3
  • Add flow control 6a7fd14
  • [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
  • [fix minor] Correctly set x-forwarded-proto in WebSocket requests c81bae2
  • [test] Add core test-http-head-response-has-no-body test f79f3ad
  • Allowing the common proxy headers' value to be appended in proxy chain scenarios. 621f9b4
  • Revert "[refactor] Improved event handler cleanup " c83d88e
  • [refactor] Improved event handler cleanup 9f92332
  • [test] Delete invalid core test 886a395
  • [test] Upgrade common.js from node core fefbf04
  • [test] Add core test-http-malformed-request test a635389
  • [test] Add basic test runner 87999d0
  • [example] Response modification middleware dd83199
  • [examples] Add some hand-crafted middleware 6e65c20
  • [test] Add core test-http-head-request test c0857f2
  • [refactor tests] Finished refactoring tests to support ws*-to-ws* tests based on CLI arguments 7e854d7
  • [test] Add core test-http-response-close test f1c0be3
  • Added example for gzip middleware using a ProxyTable. 6201328
  • Whitespace fixes e9fd3f4
  • [refactor] core proxy logic. all tests should be passing. 63ac925
  • Add flow control 2b9e09b
  • Emit drain if it doesn't happen on its own in 100ms 37e2541
  • [test] Added a test for the "x-forwarded-for" header 66e9820
  • [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
  • Added simple round robin example with websocket support 83fbd42
  • [docs] Updated examples in README.md for 0.7.x API. 24ef919
  • [examples] Added simple load balancer example fd7fcd8
  • resume() can throw 558a8a4
    • 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
  • Add guards to every throw-able res.end call 7bda25b
  • [examples] Updated examples to v0.7.x API. 8fc8d96
  • [dist] Update author field for consistency 27316e2
  • add "with custom server logic" to the "Proxying WebSockets" section of the readme.md 03dbe11
  • Memory leak hunting. f4fcf93
  • [docs] options 4c8e1d9
  • Add documentation for listening for proxy events to prevent a common mistake. 4f2bc58
  • [fix] Fixed require paths in examples 2e8d4c6
  • [fix] Memory leak hunting. ca1d12c
  • remove offending code, final fix for issue #364 3b84e27
  • [example] Replace sys usages with util 8d701bb
  • Emit drain if it doesn't happen on its own in 100ms 84be9f2
  • memory leak fix in closing of the scokets 2055d0c
  • [refactor] Updates to support http2 from @mikeal 5b52c89
  • [doc] Minor formatting updates to README.md 6753951
  • Fix truncated chunked responses ef66833
  • Fix RoutingProxy hanging when there is an error b26b434
  • resume() can throw 0c71119
  • Re-added previous description 603106a
  • [test] Kill child process when exiting test runner 74ec175
  • [dist] Update examples/package.json to conform to nodejitsu style guidelines 2937229
  • [fix] Add guards to every throw-able res.end call e1c41d0
  • Revert "[fix minor] Prevent crashes from attempting to remove listeners more than once when proxying websocket requests." c6da760
  • [fix minor] Prevent crashes from attempting to remove listeners more than once when proxying websocket requests. a681493
  • Added comments 64efa7f
  • Fixed large DoS vector in the middleware implementation 0e36912
  • http-proxy: emit websocket:start 5df6e7b
  • [refactor] Listen for socket events since reverseProxy.socket is no longer set synchronously 3828616
  • [fix] destroy() websockets in case of an error 0d00b06
  • [api] Added new close() method which cleans up sockets from HttpProxy instances 0eae2a9
  • [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
  • [test] Run tests in test/core/simple by default 68cebbe
  • Fixed large DoS vector in the middleware implementation 07c8d2e
  • [fix] Correctly kill test processes b8c27ed
  • [docs] more options d4cb9da
  • [test] Make global detection work with older node versions 3531fd6
  • [fix] Changed require('util') to require('util') for compatibility with node v0.8 bf7e328
  • simplify proxytable path segment rewrite logic c03a450
  • [test] Add .travis.yml file for Travis CI. 29e6e74
  • change proxytable routing to route one level shallower 4d50915
  • [fix] Handle errors on request object edfe869
  • [docs] Little explanation for test/core directory 8ca5d83
  • [refactor] Pass all options to Agent constructor eafdc74
  • If HTTP 1.1 is used and backend doesn't return 'Connection' header, explicitly 850171c
  • [doc] Fix style in websockets example ed06af9
  • [minor] Allow user to set colors.mode 48d4a8b
  • [minor] Indentation fix 9e630da
  • Fix socket leaks when FIN packet isn't responded to 24b8406
  • Use changeOrigin for proxyRequest. 0273958
  • adding support for setting the host 06e78f2
  • 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
  • [minor] Nicer output from test runner 5c3d41b
  • [v0.6] http.Agent uses different structure for sockets 86b4122
  • Modified the ad-hoc proxy lookup to use _getKey(), rather than the 553e7fb
  • [examples] More fixes to examples. 549360a
  • Fix for retaining large slab buffers in node core d2888c8
  • [fix] Partial fix for rejecting self-signed certs in tests 2e7d8a8
  • [misc] changelog updated to version 0.8.1 e9a3a30
  • [fix] When client request is aborted, abort server request 4d43d81
  • [fix test] Make test runner exit after test exits 31a8c68
  • Fixes memory leak when clients abort connections c98ccb4
  • added what is necessary for having proxyError on Routing proxywq b7adf86
  • [websockets] add latest websockets support 45ef87e
  • [fix] x-forwarded http headers should set properly. 2677bb6
  • [minor] More contextual errors when middleware(s) error 38315f6
  • [fix] Handle socket errors 2a61ec8
  • [dist] Update devDependencies b81d9b7
  • [fix] Dont use -i when running vows because it supresses --target= and --proxy= CLI arguments 1783ab0
  • match style requested by @cronopio 415d4ed
  • 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
  • [dist] Update scripts in package.json 6e1ade0
  • [minor] Dont use .bind() 340be42
  • [test] Add node v0.9 testing, test all branches 4f6387c
  • [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
  • [dist] Version bump. 0.7.0 0182ba3
  • [doc fix] Add undefined var in example. deca756
  • working on x-forwarded-for 31fc94a
  • Fix bug: x-forwarded-proto set incorrectly 0933f1c
  • [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
  • [dist] Version bump. 0.8.0 5055689
  • [minor] Everybody loves Unicode 38bd906
  • [minor] When running tests output only basename e109eba
  • [test minor] Update copyright notice on test runner 2ccc5c7
  • Revert "[dist] Adjusted engines field to allow for 0.6; version bump 0.7.7" 1e33434
  • [dist] Adjusted engines field to allow for 0.6; version bump 0.7.7 30dac89
  • [fix] Fix incorrect depth check. 3ab02f3
  • changeOrigin option: set the host header to the proxy destination f27d26f
  • [fix] Only set x-forward-* headers if req.connection and req.connection.socket de4a6fe
  • [fix] Use req.connection for all x-forward-* headers f6dc12a
  • [minor] Remove setEncoding on incoming socket 812868d
  • Re-emit 'start', 'forward' and 'end' events in RoutingProxy. 99ee542
  • [fix] In routing proxy, match line beginning 63dfc7f
  • [v0.6] Don't use agent.appendMessage() 6655e01
  • Change wording for handling websocket proxy events ee6bbe0
  • fix 'this' reference in routing proxy listener bindings 15afc23
  • [dist] Bump version to 0.8.7 26d3646
  • [fix] Don't remove error listener after response ends 223eacd
  • [dist] Bump version to 0.8.6 6cd78f6
  • [bench] More exact size display 7bc1a62
  • [dist] Bump version to 0.8.5 22639b3
  • [test] Run core tests on npm test 41c9a9c
  • [dist] Bump version to 0.8.4 4d7e8a8
  • [fix] function 213e03c
  • [dist] v0.8.3 a89a5b8
  • [fix] Ignore npm version errors when installing dependencies for examples a454666
  • [dist] Version bump. 0.8.2 13c34d0
  • [dist] Version bump 0.8.1 81f6095
  • [doc] call listen() to get the server started 4fc1ee8
  • finally removed hidden char 4358a4c
  • syntax error fixed 5842d0e
  • [minor] Fix indent on timeout notice c4124da
  • [minor] Change test runner output order b76680b
  • Revert "update outgoing.headers.host incase the destination does proxying" 2061c71
  • bump version 0.7.6 c5dc929
  • bump version 0.7.5 b4d41c3
  • update outgoing.headers.host incase the destination does proxying 65b7872
  • bump version 0.7.4 3dfba2b
  • grammar correction 729496d
  • [dist] Version bump. 0.7.3 db185bb
  • [dist] Version bump. 0.7.2 ccccc45
  • [fix] connection.socket -> socket for source of x-forwarded-for data 1f33943
  • Make sure the target port is an integer 5ba25aa
  • [doc] Drop version number from README.md. bdf48be
  • [dist] Version bump. 0.7.0 00e34a1
  • [minor] Small update to bin/node-http-proxy 2cd8256
  • [dist] Update .gitignore 6c1c554
  • [dist] Version bump. 0.6.6 967884c
  • [dist] Version bump. 0.6.4 216d46d
  • Fix typo which slipped in during patch clean-up ba65a48
  • cleanning 9672b99
  • cleanning 8d87399
  • [test] Stop testing on node v0.9, tests timeout 9042665
  • [minor doc] Correct comment cee27fe
  • [minor fix] delete white space df650d1
  • [test fix] Remove unnecessary console.log in tests/websocket/websocket-proxy-test.js f188f4f
  • [merge] Merge from significant internal refactor in v0.7.x. No external API changes f7010e5
  • [api breaking] Begin refactor to optimize node-http-proxy by managing one instance of HttpProxy per host:port location d2b0e43
  • format markdown for syntax highlighting on GitHub 28f6dc1
  • [minor] Style updates and whitespace cleaning for consistency f0917a3
  • [doc] Regenerate docco docs a5e1e3e
  • [api doc test] node-http-proxy now emits websocket:* on important WebSocket events. Added tests for these features and updated some code docs 4f85ca0
  • [api test doc] Improve HTTPS support. Update minor documentation. Change tests accordingly. bf68dc3
  • [doc] Updated docco docs f0649d8
  • [test] Continued work around Origin mismatch tests 44a8566
  • [api test] Updated httpProxy.createServer() for new API exposed by simplified HttpProxy object. be4562d
  • [api] refactor out middlewares from examples. 2cf4e0a
  • [docs] add middleware examples (first draft) 020290a
  • [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 c5fd368
  • [test] Fix tests in https mode 1ee6bef
  • [doc] Update docco docs faf2618
  • [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] Added examples/latent-websocket-proxy.js fcfe846
  • [doc] Add examples/standalone-websocket-proxy.js 1ee8ae7
  • [fix] use routing table mhen proxying WebSockets. efa17ef
  • Tested & fixed url middleware example, added comments. 4cc18f4
  • [doc] Regenerate docco docs bd45216
  • [doc] Update README.md to reflect the new HTTPS to HTTP proxy capabilities abc01bc
  • [minor] add middleware to node-http-proxy c773eed
  • [minor] add middleware to node-http-proxy b54666f
  • [minor] add url-proxying middleware example 45f3df8
  • [doc] Update docco docs 74120d8
  • [fix] Removed bad example. 2626308
  • [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
  • [doc] Update examples for HTTPS to HTTP proxying 91737fa
  • [minor] add example to test concurrency 6ec8d6c
  • [doc] Added sample for custom error messages using the proxyError event 4cdbf0e
  • [minor] add example of using middleware to gzip response d3c0697
  • [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
  • [minor] Fix syntax in examples/ ff82946
  • [doc test api] Improve node-http-proxy API to allow for HTTPS to HTTP proxying scenarios. Update tests accordingly. 895f577
  • support old (port,host) and (options) style when using middlewares 7976de1
  • [minor] Added body decoder middleware example. Needs fixing. 8eaec35
  • [test] Updates for readability db10c4a
  • [minor dist] Use pkginfo. Minor updates to variable scoping in .createServer() 5d0bbb3
  • [api minor] Small refactor to emit webSocketProxyError from a single helper function on any of the various error events in the proxy chain 5d2192e
  • [test] Improve websocket tests to inspect outgoing and incoming HTTP headers to test origin mismatch bugs 6e679c8
  • [doc test] Small updates to README.md. Update to try require socket.io 12064d8
  • [refactor] Manage our own internal list of Agent instances 887c580
  • [test] Refined tests to begin checking Origin == Sec-Websocket-Origin 9ab54ab
  • [api] Manual merge of #46: add custom proxyError event and enable production error handling. 652cca3
  • [doc] add comments to examples/url-middleware.js f6484de
  • [fix] Change sec-websocket-location header when proxying WSS --> WS. Added test coverage for this scenario 028d204
  • Handle cases where res.write throws be3a0d8
  • [dist] Version bump. 0.5.11 baf0b9e
  • [doc] Small update to code docs 9d9509f
  • [doc] Update docco docs for 0.5.9 b4ac4d4
  • add spacing around code blocks to fix README rendering ab8c264
  • [dist] Version bump. 0.5.1. Only good on node v0.4.7. See issue #48. 6c80177
  • [minor] code style changes 8b48b7e
  • [api] Add x-forwarded-proto and x-forwarded-port to proxied HTTP requests 421895f
  • [doc] Update README.md bd6a262
  • [doc] note in readme about middleware b5d5eaa
  • Allow forwarding for x-forwarded-[for|port|proto] to enabled layering of http-proxies. 404818b
  • Revert "Fixed "Invalid argument to getAgent" when proxying HTTP" 40dc9de
  • Fixed "Invalid argument to getAgent" when proxying HTTP 642e158
  • [dist] Version bump. v0.5.0 ddf31b2
  • [style] tidy 0f8fe8e
  • [dist] Use devDependencies in package.json e6c52d4
  • [fix] do not use middleware code if it's not needed 2012588
  • [test] Update tests to use localhost a1cdf00
  • [minor] minor fixes to gzip middleware example caa1f49
  • [minor] default enableXForwarded to true e3d95ec
  • [doc minor] Update docs and code docs for v0.5.3 release 03b9087
  • [api] Expose adapted version of stack so it can be used with HttpProxy instances not created by httpProxy.createServer() 5d6e6b9
  • Updating to enableXForwarded ee3506a
  • [dist] Version bump. 0.5.9 57ca62c
  • [doc] Update to v0.5.7 in code and README.md 6fd272a
  • [fix] Change variable references for Websockets, bugs found from using wsbench 7bf0cae
  • don't highlight non-javascript as javascript d5b9ba7
  • [fix] Fix typo in bin/node-http-proxy 57127a3
  • The number of maxSockets has to be set after the agent is created. Setting the property in the constructor does not work. 2caa5d2
  • [fix] fix syntax errors. close issue #86 b8f8499
  • [fix] Dont use res.* in proxyWebSocketRequest f7452bc
  • [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
  • [dist] Version bump. 0.5.4. Only good on node v0.4.7. See issue #48. c04eec1
  • [minor] Ignore npm modules and debug logs e90cbd6
  • fix syntax error in README example 332d2d7
  • [dist] Include docco module as a dev dependency d08c2bb
  • [dist] Version bump. 0.6.3 1389b70
  • [dist] bump version 0.6.2 d8068a8
  • [dist] bump version 0.6.1 fea371d
  • [api] merge middleware branch e6ff8d6
  • merged 5ba0f89
  • [fix] broken RegExp 549bfea
  • [fix] handler variable in createServer was global (!) 25c06a3
  • [dist] bump version 6.0 03475a5
  • [dist] bump version 5.12 5d33ad7
  • [minor] Add missing space b608a02
  • [dist] Version bump. 0.5.10 7b574d3
  • [doc] Bump version in README.md 653c6ca
  • [test] Update to vows description for web-socket-proxy-test.js a865fe6
  • [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
  • [dist] Version bump. v0.5.6 Only good on node v0.4.7. See issue #48. f1c0f64
  • [dist] Version bump. 0.5.5. Only good on node v0.4.7. See issue #48. acacc05
  • [minor] Update README.md to conform to Github flavored markdown 32a15dd
  • [dist] Version bump. v0.5.3. Only good on node v0.4.7. See issue #48. d9fa261
  • [dist] Version bump. 0.5.2. Only good on node v0.4.7. See issue #48. 360e79a
  • [minor] Update README.md to conform to Github flavored markdown 521fe27
  • Merged pull request #39 from timmattison/master. ac425d7
  • [api] Further work on refactor for node 0.4.0 e39a9f9
  • [doc] Breakout demo.js into files in example/. Add web-socket-proxy.js example 6e4bf6a
  • [doc] Added docco generated literate coding documentation 3bc7d16
  • [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
  • [api] Revert to old 0.1.x codebase for bug testing and performance comparison 66afb2a
  • [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
  • [dist minor] Removed vendored pool. Changed all references of sys to util 8251296
  • WebSocket proxy support, fixed 304 code halting 7249ef3
  • [api test dist doc] Updated for 0.3.0 release a9084b9
  • [api] First pass at removing pool and working with node v0.4.0 9faa924
  • [api] Update WebSocket support to use http.Agent APIs b0b0183
  • [api] Object creation is cheap for HttpProxy, so lets take advantage 9f0aeac
  • [doc api test] Rename HttpProxy.pause to HttpProxy.resume. Update documentation and tests accordingly 4110448
  • [api] Update .proxyRequest() and .proxyWebSocketRequest() APIs to take an options hash instead of a set of arguments. Add HTTPS support. cfddd12
  • [api] pseduo-vendor pool until pull request is finalized 7c2eb5d
  • [doc] Added more documentation 973f19f
  • No-server fix f84880f
  • [api test bin doc] Added bin script and simple logging 00014d6
  • [doc] Regenerate docco docs 6c42f04
  • [debug] Removed pool as a dependency for stress test 73381cf
  • [doc] Regenerate docco docs c485c87
  • 'end' event becomes 'close', added more try-catch handling cd78af5
  • [api] Force connection header to be close until keep-alive is replemented 3fd3c96
  • [dist] Version bump. 0.4.0 cbb5fbc
  • [api] Remove winston logging in favor of custom events a89b397
  • Added support of automatic websocket tunneling, added test for it 56003b5
  • [api test] All tests are passing when run as individual files 389159d
  • [dist] Version bump. 0.4.1. Fix package.json 0d1a3fe
  • [dist] Version bump and update to README + LICENCE. Word to Mikeal for coming thru for 0.2.0 69c162d
  • [debug] Better debug messages to try to determine if pool is slowly losing clients to forever busy dd1918d
  • [minor doc] Update demo and small fix to node-http-proxy d8c5406
  • [doc dist] Version bump. Added CHANGELOG.md de53d5e
  • [fix] Fixed cli parsing issue when --argument=value is not used 34cba38
  • [dist] Version bump. 0.4.2. Remove eyes dependency. a5d88aa
  • Moved error handling to response.on('end'), fixed error handling in websocket's part 7e61f0c
  • [api] Update request event to be consistent by emitting both req and res. Add x-forwarded-for header. a3cb527
  • [minor] Pushing hot-fix from Mikeal for vendored pool repo 60791f3
  • [doc] Updated Copyright ... added Fedor 9128a8c
  • [minor] Listen to error event on pool so we dont fail out unexpectedly anymore 711258e
  • [minor] Expose version on module 1dd9b3b
  • [test] Small update to proxy-table-test.js 3588687
  • 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
  • [api] Emit end event when done proxying 5681fc1
  • [doc] Update to v0.3.1 in README.md 8ef2e1f
  • [dist] Change package.json for npm version bump 0e7f362
  • [debug] Roll back last commit ... connection = close was ineffective 266e524
  • [debug] Trying to repair pool busy client growth 7b0ea85
  • [minor] Updated max clients for pool 32aaf74
  • [dist] Move pgriess' websocket client into vendor/* 7cbf447
  • [api] Integrated commits from donnerjack and worked on pool changes 3bb458e
  • [doc] Update contributors for 0.3.0 6d47d98
  • [api dist] Merge of branch 0.2.0 fd61828
  • [api] Completely refactored node-http-proxy with help from Mikeal 1221939
  • [fix] tests a255f98
  • [minor] remove coverage 335af81
  • [minor] s/function(/function (/ s/){/) {/ 9cecd97
  • [api] More changes for createServer api 5d94ae2
  • added colors and asciimo d490b50
  • [api] First commit of http-proxy 30b68c1
  • [dist] first 4d13156
  • [refactor docs] add descriptions d05af4a
  • updating demo c4b7c0d
  • initial release v0.1.0, sure to have many updates coming. 85f7372
  • fleshing out demo 994f748
  • [docs] added benchmarks bbed176
  • Correct keep-alive responses to HTTP 1.0 clients. a29b5e8
  • updated paths to use npm 972c8c0
  • added spark demo d0ad931
  • [test] Updated tests to include support for latent requests 095e86a
  • [refactor] move to leaner architecture 8273cb6
  • [minor] Strip trailing whitespace. 7fc39d7
  • [fix] some stuff start debugging proxystream d4f0da8
  • [fix] ProxyStraem now works 356f43d
  • 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
  • Added timeout option and test to test new timeout parameter, added requestFail assertion. 89d43c2
  • [test] proxystream test c961279
  • [api] Updated request hashes to use a unique identifier c887a75
  • [feature] started working on error propagation, kinda sucks, gotta think it over 9ab8749
  • [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
  • [tests] add more tests cedc5c4
  • Add headers on 'handshake' 985025c
  • changed api to better reflect nodes api. updated demos, tests, docs bde98f4
  • [test] passes/web.js (first 2 funcs) d40e4be
  • [test] add test for forwardstream 8fc3389
  • updating docs 341bbd4
  • [test] added the lib/caronte/streams/forward.js initial test, one test pending 2fac7b9
  • [api] add draft for proxystream 4f24664
  • [test] started writing tests 16eacfa
  • pathnameOnly flag added. Ignores hostname and applies routing table to the paths being requested. 46b078a
  • [doc] added comments to pathnameOnly block. 5e6be6c
  • fixed npm package, i think. bumped version 0.1.1 fca40da
  • [test] COVERAGE 004a46c
  • updated demo b622702
  • added readme d6a2f8a
  • [api] Corrected chain of argument passing da55777
  • pathnameOnly option documented in the Readme.md a1607c1
  • [test] passes/web.js XHeaders func c02b721
  • [doc dist] Update CHANGELOG.md for v0.9.0. 133115c
  • updated demo e9511ea
  • [feature] implement _write and _read 6a4294c
  • add support for loading CA bundles 10f6b05
  • [deploy] Added package.json dce80b9
  • updated readme 76d0649
  • problem: don't want to run my server as root to bind to privileged ports (e.g. 80, 443). 2c36507
  • update to docs and package.json d15bba4
  • [api minor debug] Remove debug code, set Connection header if not set 6d08f24
  • [dist] Update CHANGELOG.md 8665f3c
  • [minor] Removed eyes dependency eaeed83
  • [minor] Move private helper to end of file. 476cbe7
  • Add 'proxyResponse' event so observer can modify response headers or abort response. 3b86a7a
  • [debug] Added some debugging to figure out why AB wont complete a test with v0.2.0 9715ebd
  • [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
  • fixed additional port / server mismatches for new api 15c18b6
  • Don't test raw HTTP 1.0 requests over HTTPS. daf53bd
  • [dist] Update devDependencies ad21310
  • [minor] Small whitespace compliance. ea0587a
  • [api] Integrated a little more from Mikeal to make our return headers consistent eb39018
  • [doc] Updated README.md f291efb
  • updated docs 07d96bb
  • updated docs 1594367
  • updated readme fb8c5ab
  • bumped to version 0.1.5 b195a16
  • bumped to version 0.1.4. improved on api 82b8228
  • merge 93505a4
  • removed extra self, updated colors requirement, bumped to version 0.1.3 9bc5b6f
  • [fix] making @stoke a happy camper 34f16e7
  • Harmon messsage 35ba0db
  • fixed pathing issue, bumped version 0.1.3 ede6490
  • [dist doc] Updated CHANGELOG.md for v0.9.1 ea5e214
  • [fix] woops bd3df45
  • [test] Test on newer version of node ebbba73
  • [fix breaking] Emit the proxyResponse event on the HttpProxy instance to reduce listener churn and reference counts. 2620f06
  • Allow event observers to access upstream response headers and data. 4c130f5
  • [fix] use some 4480699
  • [fix] making @jcrugzz a happy camper 2e7343d
  • [dist] Bump version to 0.10.3 2fd748f
  • [fix] Respect maxSockets from target options in RoutingProxy e1d384e
  • [dist] Version bump. 0.10.2 de0928f
  • [dist] Version bump. 0.10.1 9c13ad4
  • [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
  • [dist] Version bump. 0.9.1 701dc69
  • [breaking] Ensure that webSocketProxyError also receives the error to be consistent with proxyError events. c78356e
  • [dist] Version bump. 0.9.0 c68e038
  • [fix doc] Fix bad variable reference in README.md. 440013c
  • [doc] Update README.md 0ba5023
  • [dist] Version bump. 0.6.5 7beead5
  • [minor] Small update to README.md 40c51a7
  • added spark demo d408e39
  • updated readme 9aa2216
  • updated readme 0a2eaaa
  • updated package.json again ddba155
  • updated docs c8dd8c4
  • initial release v0.1.0, sure to have many updates coming. 1e04552
  • initial release v0.1.0, sure to have many updates coming. 6a1baa2
  • updated docs 17b6c69
  • Harmon messsage 4e42354
  • Remove data event that is not needed after-all. b1c4bd6
  • [dist] Test runner depends on async 219b0ff
  • [test] Whitespace fix 3a4d312
  • [doc] add note on middleware to Using node-http-proxy section of the README 5bf2d59
  • updating docs 198000f
  • [dist] update package-lock.json abf882e
  • [test refactor] test/core/{run => run-single} 004be38
  • [dist] Reorganize examples based on classification(s): http, websocket, or middleware 81d6c31
  • [api] Added createServer api to node-http-proxy 2e2b55f
vapi-nikhil
published 1.18.4 •

vapi-nikhil
published 1.18.3 •

vapi-nikhil
published 1.18.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc