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

http-proxy

Package Overview
Dependencies
Maintainers
4
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-proxy - npm Package Versions

1
9

0.9.1

Diff

Changelog

Source

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
indexzero
published 0.9.0 •

Changelog

Source

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
mmalecki
published 0.8.7 •

Changelog

Source

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
mmalecki
published 0.8.6 •

Changelog

Source

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
published 0.8.5 •

Changelog

Source

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
published 0.8.4 •

Changelog

Source

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
bradleymeck
published 0.8.3 •

indexzero
published 0.8.2 •

Changelog

Source

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
cronopio
published 0.8.1 •

Changelog

Source

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
indexzero
published 0.8.0 •

Changelog

Source

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
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