Commit Graph

561 Commits

Author SHA1 Message Date
Paul Lorenz 5fc81fbf18 Update to use channel trace 2022-02-28 15:39:27 -05:00
Paul Lorenz d33fde180f Merge pull request openziti/fabric#325 from openziti/incr-cost-on-timeout
notify route strategy of failure on timeout
2022-02-25 09:32:49 -05:00
Paul Lorenz 6a21f127ff notify route strategy of failure on timeout 2022-02-25 08:43:56 -05:00
Cam Otts be30ee8026 Added cost to routers and relevant persistence and path checking. (#324)
* Added cost to routers and relevant persistence and path checking.

* removed router cost from config

* changed cost to be required on update

* removed some import reorderings and added fingerprint to be required

* missed one line
2022-02-23 10:14:00 -06:00
Paul Lorenz db9e66e222 Merge pull request openziti/fabric#323 from openziti/circuit-event-refactor
Refactor circuit events. All circuit events now show all circuit data…
2022-02-22 13:33:22 -05:00
Paul Lorenz 883312255f address review comments 2022-02-17 15:47:47 -05:00
Paul Lorenz 91585a84b7 Refactor circuit events. All circuit events now show all circuit data. Fixes openziti/fabric#322 2022-02-17 15:37:53 -05:00
Paul Lorenz 5eaa60e236 Use RemoveCB to update cache atomically. Do uncached lookup when updating cache 2022-02-17 15:35:57 -05:00
Paul Lorenz 05245dbd00 Merge pull request openziti/fabric#320 from openziti/fix-router-events
Use updated store events. Fixes openziti/fabric#319
2022-02-17 11:14:40 -05:00
Paul Lorenz 01fa63e716 Use updated store events. Fixes openziti/fabric#319 2022-02-17 10:41:38 -05:00
Paul Lorenz 6490659329 Merge pull request openziti/fabric#317 from openziti/remove-deprecated-mgmt-ch-ops
Remove deprecated management channel operations
2022-02-15 21:42:38 -05:00
Paul Lorenz 76e139a26d Remove deprecated management channel operations 2022-02-15 15:45:32 -05:00
Paul Lorenz 1b092968ad Merge pull request openziti/fabric#316 from openziti/fix-ctrl-channel-stall
Don't call message sends in control channel bind
2022-02-10 09:41:40 -05:00
Paul Lorenz 675b16ef98 Don't call message sends in control channel bind 2022-02-10 09:20:23 -05:00
Andrew 73e61a3460 Merge pull request openziti/fabric#315 from openziti/xweb.compression
adds gzip, br, and deflate support to xweb servers
2022-02-07 13:10:00 -05:00
Andrew Martinez 707c97083c adds gzip, br, and deflate support to xweb servers
- all xweb http.Server's now have compression support
- supports multiple weighted Accept-Encoding headers
- uses pools of encoders to reduce memory churn under load
- adds wrapped http.ResponseWriter to delay header closing before
  compression and content length can be set
2022-02-04 16:01:36 -05:00
Paul Lorenz 60119696b7 Fix metric filtering and add test 2022-02-02 17:25:12 -05:00
Paul Lorenz 1c3f144763 Merge pull request openziti/fabric#313 from openziti/link-channel-update
Update links to use channel library
2022-01-31 16:58:01 -05:00
Paul Lorenz f2bc37f21a Add missing headers. Use util function for fingerprint 2022-01-31 16:34:44 -05:00
Paul Lorenz 3cfea85bf7 Update links to use channel library 2022-01-31 15:52:10 -05:00
Paul Lorenz b8c531cac4 Merge pull request openziti/fabric#312 from openziti/router-control-channel-update
Update router side of control channel to use channel library
2022-01-28 16:35:24 -05:00
Paul Lorenz e9133f4a94 Update router side of control channel to use channel library 2022-01-28 12:38:26 -05:00
Paul Lorenz 046399cbd6 Merge pull request openziti/fabric#311 from openziti/update-channel
Update to use channel library
2022-01-28 11:11:51 -05:00
Paul Lorenz 93ba2f460f Merge remote-tracking branch 'origin/main' into update-channel 2022-01-28 11:09:47 -05:00
Andrew 3343abe380 Merge pull request openziti/fabric#310 from openziti/add.controller.move.options
Add.controller.move.options
2022-01-28 10:50:06 -05:00
Andrew Martinez 27c9aaf2ed add host/san validation 2022-01-28 10:01:49 -05:00
Andrew Martinez 293771d6a4 adds updatable address capabilities to the router configuration 2022-01-28 09:38:32 -05:00
Paul Lorenz 84ae5576e1 Update to use channel library 2022-01-27 16:46:21 -05:00
Andrew Martinez 58f2268f35 add doc 2022-01-27 11:17:27 -05:00
Andrew Martinez 9df03f8d03 moves config update from edge to fabric 2022-01-27 11:06:07 -05:00
Andrew Martinez 08e658514a adds newListener and newAddress options for controller ip/hostname move
- ctrl section for fabric now supports newListener addresses, sent on
  router connect
- xweb bindPoints now support newAddress, sent as a header on every
  response
2022-01-27 10:17:53 -05:00
Paul Lorenz 96c58e00a9 Merge pull request openziti/fabric#309 from openziti/exit-rx-on-payload-fwd-fail
Exit xgress.rx if forward fails
2022-01-24 17:58:36 -05:00
Paul Lorenz bc9d98c3fe Exit xgress.rx if forward fails 2022-01-24 17:21:43 -05:00
Paul Lorenz 4c9403f60b Merge pull request openziti/fabric#308 from openziti/check-idle-circuits-against-path
check idle circuits against path
2022-01-24 13:59:53 -05:00
Paul Lorenz 4f5e7b3591 check idle circuits against path 2022-01-24 13:07:14 -05:00
Andrew d46e7be680 Merge pull request openziti/fabric#307 from openziti/allow.config.update.save
adds ability to update and save loaded configuration
2022-01-24 09:23:00 -05:00
Andrew Martinez 8e45c3a0b0 consts for time format 2022-01-24 09:21:13 -05:00
Andrew Martinez 86e66cf4d3 adds ability to update and save loaded configuration
- internal configuration values are stripped before save
- adds method to create a backup of the current configuration
2022-01-21 15:23:30 -05:00
Paul Lorenz 9cb225210b Merge pull request openziti/fabric#306 from openziti/move-events-from-foundation
Move some events/metrics code from foundation to fabric
2022-01-20 17:57:04 -05:00
Paul Lorenz c425cc84a8 Move some events/metrics code from foundation to fabric 2022-01-20 17:22:50 -05:00
Andrew 575a0272c6 Merge pull request openziti/fabric#305 from openziti/use.idle.for.idle
use idle timeout option for idle timeout for http servers in xweb
2022-01-19 11:20:46 -05:00
Andrew Martinez d4596856dd use idle timeout option for idle timeout for http servers in xweb 2022-01-19 11:14:44 -05:00
Paul Lorenz a1dc317620 Merge pull request openziti/fabric#304 from openziti/update-ctrl-channel
Update control channel to new channel API
2022-01-19 08:19:10 -05:00
Paul Lorenz e781e3c713 Update control channel to new channel API 2022-01-19 08:15:33 -05:00
Paul Lorenz a918f1be0d Merge pull request openziti/fabric#301 from openziti/fix-panic-on-missing-router
Fix panic on router missing message. Tidy logging, put more variables…
2022-01-10 16:16:22 -05:00
Andrew 41155960ea Merge pull request openziti/fabric#302 from openziti/responder.set.content.length
sets content-length http response header
2022-01-06 13:28:25 -05:00
Andrew Martinez 778bb6d57c changes debug logs to errors, provide fallback content on producer err 2022-01-06 13:21:59 -05:00
Andrew 0f58c981f9 Merge pull request openziti/fabric#303 from openziti/http.timeout.logging
adds an error log for HTTP timeouts
2022-01-06 13:11:30 -05:00
Andrew Martinez 0ee7b73e63 adds an error log for HTTP timeouts 2022-01-06 12:04:08 -05:00
Andrew Martinez f128087d5e sets content-length http response header
Setting the content-length header for HTTP responses allows the golang
net/http library to avoid chunking the response.
2022-01-06 11:51:12 -05:00