Commit Graph

  • e4ee56e0dc don't build a new response, modify the old one master Brandon Thomas 2020-09-13 07:45:29 -04:00
  • fa05996e34 clean up response modification Brandon Thomas 2020-09-13 07:03:01 -04:00
  • f2b0ec1c46 add proxy hostname to response (but this isn't elegant/safe) Brandon Thomas 2020-09-13 06:37:24 -04:00
  • 77ad6a7e08 Broke OPTION / CORS by not matching on method Brandon Thomas 2020-09-10 05:21:03 -04:00
  • 8977255088 remove nightly-only build error source; remove unused imports Brandon Thomas 2020-09-10 04:54:29 -04:00
  • df55d55b84 configurable retry limit and duration Brandon Thomas 2020-09-10 04:30:11 -04:00
  • e1c39e65de Robust proxying with retry Brandon Thomas 2020-09-07 14:12:40 -04:00
  • d35c5db473 cleanup upgraded-hyper-reverse-proxy Brandon Thomas 2020-09-10 04:05:33 -04:00
  • 8643d80b1c fix bug Brandon Thomas 2020-09-10 03:24:49 -04:00
  • 4cf87a303d wip, some error causing failure Brandon Thomas 2020-09-10 02:32:20 -04:00
  • 4b99484dbf cleanup Brandon Thomas 2020-09-08 17:25:07 -04:00
  • b85cb4274d WIP retry - works! Brandon Thomas 2020-09-08 02:42:05 -04:00
  • fc99fd9182 clone request Brandon Thomas 2020-09-08 00:44:52 -04:00
  • 35687652e7 proxying works in a rough first pass Brandon Thomas 2020-09-07 16:04:26 -04:00
  • 99b6bb3788 WIP: More progress. This is a much cleaner way to do things Brandon Thomas 2020-09-07 15:14:56 -04:00
  • 80481cd4f5 WIP: This is looking way more ergonomic Brandon Thomas 2020-09-07 14:22:46 -04:00
  • 8a5eda6aa8 WIP upgraded hyper-reverse-proxy, hyper, and futures Brandon Thomas 2020-09-07 14:12:40 -04:00
  • 74de16f952 if I just read the docs, I would have figured this out sooner :| Brandon Thomas 2020-09-05 00:46:17 -04:00
  • 625dac6c19 Move speak_proxy forwarding function into module Brandon Thomas 2020-09-05 00:37:49 -04:00
  • 206407c133 still trying to get retry to work (broken) retry Brandon Thomas 2020-09-04 19:06:14 -04:00
  • f25d3dbe9d failure mode handle Brandon Thomas 2020-08-06 01:51:15 -04:00
  • fe3321ef02 Trying to get retry to work... Brandon Thomas 2020-08-06 01:29:10 -04:00
  • 6c66da2964 add logging to attributes Brandon Thomas 2020-08-05 01:10:08 -04:00
  • 43599c2a02 add newrelic attribute for speaker Brandon Thomas 2020-08-05 00:45:56 -04:00
  • 47f4f75eb5 build newrelic libs Brandon Thomas 2020-08-04 23:36:01 -04:00
  • 6bd56aad75 add newrelic logging capability Brandon Thomas 2020-08-04 22:26:30 -04:00
  • aeb905357e this should finally report the correct IP Brandon Thomas 2020-07-01 06:08:06 -04:00
  • 6aef89c6ef debug by printing all headers Brandon Thomas 2020-07-01 05:46:04 -04:00
  • c7aba90ee9 custom forwarded-for type header Brandon Thomas 2020-07-01 04:53:43 -04:00
  • e7025d035f confirmed this is correct; no longer need to log Brandon Thomas 2020-07-01 03:38:16 -04:00
  • 0fda9f97c3 cleanup stale comments, add debug statement for IP Brandon Thomas 2020-07-01 03:22:57 -04:00
  • ae060729dc add proxy healthcheck endpoint Brandon Thomas 2020-06-30 06:51:35 -04:00
  • 801304adde bind 0.0.0.0 Brandon Thomas 2020-06-30 06:21:36 -04:00
  • 7e4d5f375d add debugging to catch-all route Brandon Thomas 2020-06-30 06:10:20 -04:00
  • 7455e51148 populate 'forwarded' header as well Brandon Thomas 2020-06-30 00:11:42 -04:00
  • 4a5ec4bdba add proxy config to docker, fix IP x-forwarded-for Brandon Thomas 2020-06-29 23:56:26 -04:00
  • b50f84c280 always fall back to default host Brandon Thomas 2020-06-29 22:59:05 -04:00
  • e850941f40 Working proxy design Brandon Thomas 2020-06-29 22:54:05 -04:00
  • 96e900457e cleanup default routing Brandon Thomas 2020-06-29 20:12:07 -04:00
  • 8238977553 Copy entire body too, and remove header hack Brandon Thomas 2020-06-29 20:02:32 -04:00
  • b268d98b86 cleanup Brandon Thomas 2020-06-29 19:42:32 -04:00
  • 649623c39f more efficient header copy Brandon Thomas 2020-06-29 19:32:57 -04:00
  • 56f707e89b copy (most) headers Brandon Thomas 2020-06-29 19:29:16 -04:00
  • 48a3e831ea refactor proxying (works!) Brandon Thomas 2020-06-29 18:58:56 -04:00
  • c89569aa8e Proxying works! Brandon Thomas 2020-06-29 15:21:20 -04:00
  • cd68e43389 cleanup (still need to pass original request) Brandon Thomas 2020-06-29 14:56:22 -04:00
  • 663284df87 This decodes the request successfully! Brandon Thomas 2020-06-29 07:07:19 -04:00
  • 0e2990ee2c This compiles, but isn't logical Brandon Thomas 2020-06-29 07:03:11 -04:00
  • 09ed0163af WIP: Futures not working Brandon Thomas 2020-06-29 06:55:24 -04:00
  • aa7345be2d Proxy OPTIONS header Brandon Thomas 2020-06-29 05:08:41 -04:00
  • 6396b6a690 configure port Brandon Thomas 2020-06-29 04:24:54 -04:00
  • f6619e5fef add proxy_configs.toml (unread currently) Brandon Thomas 2020-06-29 04:06:28 -04:00
  • 67d094d38e screw it, install curl with apt Brandon Thomas 2020-06-29 02:35:39 -04:00
  • dce95dea18 all the libs Brandon Thomas 2020-06-29 02:24:19 -04:00
  • fc50a06e7f another curl dep Brandon Thomas 2020-06-29 02:19:24 -04:00
  • 4e97688e9b fix libcurl src Brandon Thomas 2020-06-29 02:08:10 -04:00
  • 461db14259 Add curl in final image Brandon Thomas 2020-06-29 01:55:43 -04:00
  • de5a5b0783 Add github workflow and dockerfile Brandon Thomas 2020-06-29 00:30:28 -04:00
  • d4853707c7 Testing routing Brandon Thomas 2020-06-29 00:24:14 -04:00
  • 97e94d9e56 This proxy works! Brandon Thomas 2020-06-28 23:44:16 -04:00
  • 28fee8eee7 initial commit Brandon Thomas 2020-06-28 22:23:48 -04:00