Commit Graph

  • 70aaa22b3f Merge pull request #376 from alex-lushiku/patch-1 master Rob Wu 2021-09-04 22:42:08 +02:00
  • c84078bcff Fix typo Noodles 2021-08-31 21:01:43 +02:00
  • 02f0cbd929 Add LICENSE file based on README.md #297 Rob Wu 2021-03-22 21:36:23 +01:00
  • 34ec83b25c Show "400 Missing slash" when needed #238 Rob Wu 2021-03-22 21:18:31 +01:00
  • 207e1e9ed9 Add Node 15.x to Travis Rob Wu 2021-03-22 12:31:24 +01:00
  • d33bd647de Migrate travis-ci from .org to .com Rob Wu 2021-03-22 12:29:14 +01:00
  • a9143e7244 Fix test expectation for old node Rob Wu 2021-03-22 12:16:06 +01:00
  • 3c87a51664 Support NODE_TLS_REJECT_UNAUTHORIZED=0 to ignore client errors #341 Rob Wu 2021-03-21 23:38:32 +01:00
  • d10efb1b46 Version 0.4.4 0.4.4 Rob Wu 2021-03-17 21:31:11 +01:00
  • 94a325b225 Update gTLD list Rob Wu 2021-03-17 21:30:38 +01:00
  • 1bd95282ad Add note about availability of public demo server Rob Wu 2021-03-17 21:17:44 +01:00
  • 4c18680552 Expand handleInitialRequest documentation #335 Rob Wu 2021-03-17 21:12:42 +01:00
  • 9f1af82434 Add handleInitialRequest option to support #301 Rob Wu 2021-02-01 22:20:35 +01:00
  • 528ad7109f Remove obsolete values from server.js's removeHeaders Rob Wu 2020-09-28 23:28:54 +02:00
  • c8a2091310 Merge pull request #278 from bulk88/no_heroku_headers_to_origin Rob Wu 2020-09-28 23:27:51 +02:00
  • 7271e29f21 remove Heroku specific Req headers from being sent to Origin bulk88 2020-09-24 17:55:56 -04:00
  • 3bab870d3f Merge pull request #277 from bulk88/no_AC_max_age_header_on_get_post_meth Rob Wu 2020-09-27 22:44:37 +02:00
  • b3a13b026c only send Access-Control-Max-Age if preflight request, not POST/GET bulk88 2020-09-27 15:19:26 -04:00
  • a0309e6c47 Version 0.4.3 0.4.3 Rob Wu 2020-05-06 23:26:35 +02:00
  • a9e06a9dab Reject invalid redirects Rob Wu 2020-05-06 23:25:17 +02:00
  • 0a3b8e965f Pass --max-http-header-size in supported versions only Rob Wu 2020-05-02 19:52:05 +02:00
  • 2579fb6c0d test-memory: fix test by passing --max-http-header-size Rob Wu 2020-05-02 19:20:08 +02:00
  • 001fbef926 Update test expectation for Node 12.x Rob Wu 2020-05-02 19:19:17 +02:00
  • a21400378c Version 0.4.2 0.4.2 Rob Wu 2020-05-02 17:58:26 +02:00
  • 4ddb796e28 Explicit early out for invalid URLs Rob Wu 2020-05-02 17:52:10 +02:00
  • 20d5d0480e test-memory: destroy response to free socket Rob Wu 2020-05-02 17:20:16 +02:00
  • 7222fce684 Extend supported Node.js from <=9 to <=14 Rob Wu 2020-05-02 16:45:42 +02:00
  • 4814647a9d Reject invalid requests instead of crashing (#142) Rob Wu 2018-10-31 23:58:21 +01:00
  • 462f844e22 Fix failing test in test/test-ratelimit Rob Wu 2018-10-31 12:28:55 +01:00
  • ff0be47ddd Respect NODE_TLS_REJECT_UNAUTHORIZED env var NODE_TLS_REJECT_UNAUTHORIZED-support Rob Wu 2018-06-27 12:17:35 +02:00
  • de0aa08d05 Add test for httpProxyOptions.secure Rob Wu 2018-06-27 12:16:41 +02:00
  • 2ee31471ce Version 0.4.1 0.4.1 Rob Wu 2017-12-01 14:05:34 +01:00
  • b419acc6e5 Explicitly list all files for the npm package Rob Wu 2017-12-01 14:04:52 +01:00
  • 7b6ce1a3df Fix failing tests for 0.10.x, 4.x and 5.x Rob Wu 2017-11-11 02:08:44 +01:00
  • d2b5dd38bb Add Node 9.x to Travis Rob Wu 2017-11-11 01:28:29 +01:00
  • 6741f810f9 Remove engines.npm (#92) Rob Wu 2017-11-11 00:54:22 +01:00
  • 53101b9a21 Update gTLD list Rob Wu 2017-11-11 00:33:44 +01:00
  • 4a46541da4 Catch error due to invalid status code (#95) Rob Wu 2017-11-08 22:23:58 +01:00
  • 143eff177c Merge pull request #77 from gnjack/maxAge Rob Wu 2017-07-16 11:10:36 +02:00
  • 49d429dd60 Do not send Access-Control-Max-Age header if corsMaxAge is 0 (default) Jack Tench 2017-07-14 13:22:53 +01:00
  • 10df7c9f4a Rename maxAge to corsMaxAge and set the default corsMaxAge to 0. Set corsAnywhereRequestState before calling withCORS and use the state instead of a parameter to get corsMaxAge. Jack Tench 2017-07-14 12:29:15 +01:00
  • 881392cfaf Add maxAge config option. If set, an Access-Control-Max-Age header with this value (in seconds) will be added. Jack Tench 2017-07-13 19:13:37 +01:00
  • 70400ab166 Monkey-patch nock, add Node v8 to test matrix Rob Wu 2017-07-13 18:58:29 +02:00
  • f016bd71f5 Update test expectation for "100 GET requests 50k" Rob Wu 2017-07-13 18:57:26 +02:00
  • 99133b02b4 Explicit Node versions in Travis build matrix Rob Wu 2017-07-13 18:09:52 +02:00
  • ded44cb5d0 Upgrade supertest + nock to recent version Rob Wu 2017-07-13 17:32:45 +02:00
  • dcc64052e3 Change response handling hook Rob Wu 2017-07-13 17:08:31 +02:00
  • 81ed058784 Update mocha to ^3.4.2 Rob Wu 2017-07-13 12:44:26 +02:00
  • 97c6e53020 Fixed example in README to bind correct host Alexander Pinnecke 2017-02-01 15:57:37 +01:00
  • efc13eec1f Correctly parse environment list in server.js Rob Wu 2016-05-31 20:33:05 +02:00
  • 6c4234f2b3 Add rate-limiting functionality #45 Rob Wu 2016-05-31 00:52:26 +02:00
  • f07bdc4ea0 Add examples for modifying requests or responses Rob Wu 2016-05-14 23:16:45 +02:00
  • bb4293a74d Version 0.4.0 0.4.0 Rob Wu 2016-03-19 18:35:33 +01:00
  • e6695b8102 Add redirectSameOrigin Rob Wu 2016-03-19 18:22:29 +01:00
  • bacbbe0cb0 It's 2016 Rob Wu 2016-02-26 18:26:40 +01:00
  • 66fdd6e662 100% test coverage :) Rob Wu 2016-02-26 18:23:29 +01:00
  • 411e95ac1d Merge pull request #40 from Rise-Vision/feature/custom-help-text Rob Wu 2016-02-26 18:19:30 +01:00
  • 9f389e6f41 Added option for a custom help file rodrigopavezi 2016-02-25 17:19:29 -03:00
  • ee93f70dc3 Increment threshold for memory failure on Node 0.x Rob Wu 2016-02-26 17:05:06 +01:00
  • f081fe2ccf Fix tests: Explicitly start and close servers Rob Wu 2016-02-26 16:58:07 +01:00
  • 37f35fda35 Exclude coverage/ from linting Rob Wu 2016-02-26 16:32:47 +01:00
  • fc9cf157d2 Remove getHandler Rob Wu 2016-02-26 16:21:59 +01:00
  • 1308e34247 More test coverage for redirects Rob Wu 2016-02-26 16:10:53 +01:00
  • 35932a0ac1 Add tests for misbehaving servers + fix bug Rob Wu 2016-02-26 15:51:17 +01:00
  • 16b1a7e3a0 requireHeader: Improve coverage and fix bug Rob Wu 2016-02-26 13:13:58 +01:00
  • 24db52500f Remove requiresPort dependency Rob Wu 2016-02-26 12:58:11 +01:00
  • f9af03e762 Add Travis and test coverage Rob Wu 2016-02-26 12:35:55 +01:00
  • 0872577729 Enforce a consistent coding style using eslint Rob Wu 2016-02-26 12:28:38 +01:00
  • e8f0e64168 Version 0.3.0 0.3.0 Rob Wu 2016-02-19 00:47:56 +01:00
  • 97b09d599d Update gTLD list Rob Wu 2016-02-19 00:47:39 +01:00
  • bbe3378c35 Tests: Replace space with dash in header name Rob Wu 2016-02-19 00:32:37 +01:00
  • 8568c06b17 Support proxying through a proxy - #37 Rob Wu 2016-02-19 00:22:20 +01:00
  • 440d2de180 Version 0.2.5 0.2.5 Rob Wu 2015-08-23 14:48:29 +02:00
  • a2f0c05b24 Add more tests for setHeaders Rob Wu 2015-08-23 10:58:58 +02:00
  • 015627b3f4 setHeaders is a dict, not an array Rob Wu 2015-08-23 10:52:01 +02:00
  • c5a3877e6c add setHeaders option Nikolay Derkach 2015-08-20 20:05:50 -07:00
  • 8429bb3c58 Version 0.2.4 0.2.4 Rob Wu 2015-08-16 01:12:12 +02:00
  • c0048573e9 Update gTLD list Rob Wu 2015-08-16 01:11:11 +02:00
  • 837dee582c Add originBlacklist + originWhitelist Rob Wu 2015-08-16 01:05:26 +02:00
  • 7a138b36cc Version 0.2.3 0.2.3 Rob Wu 2015-05-09 11:10:47 +02:00
  • f8f718ead8 Add tests for memory leaks Rob Wu 2015-05-09 11:03:16 +02:00
  • 0e594a2b03 Skip host check if scheme is explicitly set Rob Wu 2015-05-06 22:13:53 +02:00
  • 903f3d32dc Update TLD list. Rob Wu 2015-05-06 20:14:05 +02:00
  • fbf3ce9255 Update copyright year to 2015 Rob Wu 2015-05-06 20:12:14 +02:00
  • 19de080098 Move inline jshint directive to .jshintrc Rob Wu 2015-05-06 20:03:56 +02:00
  • d437bc9225 Test that redirect headers are not set in response Rob Wu 2015-05-06 20:00:05 +02:00
  • b5d601f823 Verify and update links to node-http-proxy Rob Wu 2015-05-06 19:53:57 +02:00
  • 024d540e7c Fix test expectations for xfwd Rob Wu 2015-05-06 19:46:58 +02:00
  • 2d84862546 Upgrade http-proxy to 1.11.1 Rob Wu 2015-05-06 19:19:21 +02:00
  • f98705f27b Add test for proxy error Rob Wu 2015-05-06 18:40:04 +02:00
  • e8202aa31f Add more xfwd tests (https+http & http+https) Rob Wu 2015-05-06 18:20:11 +02:00
  • 056cb446fe x-forwarded-port should match the request port. Rob Wu 2015-05-06 12:08:53 +02:00
  • 80da247827 Add httpsOptions option to create https.Server Rob Wu 2015-05-06 12:07:31 +02:00
  • 1ee157fc0f Add unit tests Rob Wu 2015-05-05 22:36:44 +02:00
  • f0bdb5ffd1 Remove manual leak test Rob Wu 2015-05-05 18:08:33 +02:00
  • 6b54191df9 0.2.2 - Expose every response header #12 0.2.2 Rob Wu 2014-10-05 16:07:40 +02:00
  • 4343044781 Default to https for the CORS API. Rob Wu 2014-08-29 19:17:52 +02:00
  • 0745b894c6 0.2.1 - Update URL parsing logic (fixes #9) 0.2.1 Rob Wu 2014-08-29 16:28:26 +02:00
  • c78854e4cf 0.2.0 - upgraded to node-http-proxy 1.3.0 0.2.0 Rob Wu 2014-08-27 20:16:46 +02:00
  • 90d81e7033 Update TLD list Rob Wu 2014-08-25 13:43:13 +02:00