Commit Graph

162 Commits

Author SHA1 Message Date
Michael Quigley 6446ee9c60 Use transport.Configuration. 2021-05-14 14:04:56 -04:00
Paul Lorenz d0ceb31274 Change default metrics report interval to 1 minute 2021-03-31 18:48:57 -04:00
Andrew Martinez 0a993f410d remove for/select 2021-03-24 16:28:08 -04:00
Andrew Martinez d05a450f53 instead of sleeping in a for loop, watch for shutdown done 2021-03-24 16:14:59 -04:00
Andrew Martinez 99535e39d6 remove unnecessary remove handler call, was causing panics 2021-03-23 14:33:00 -04:00
Paul Lorenz aa57624fbe Allow multiple xgress close handlers 2021-03-17 21:11:12 -04:00
Michael Quigley 24864fed87 Simpler. (#204) 2021-03-12 13:04:32 -05:00
Michael Quigley 85cc09cc5a Log tuning. (#204) 2021-03-12 10:45:17 -05:00
Michael Quigley 99e1f18870 Remove debug logging. (#204) 2021-03-12 10:07:33 -05:00
Michael Quigley 427fa10258 Merge branch 'main' into idle_route_gc 2021-03-11 09:46:14 -08:00
Paul Lorenz 5ab977feb5 Don't require listener address, as not every xgress impl needs one 2021-03-10 20:18:33 -05:00
Paul Lorenz 7d913270a4 Log local address for successful dials in xgress_transport 2021-03-10 14:03:08 -05:00
Michael Quigley 7bb4011ba4 Merge pull request openziti/fabric#210 from openziti/forwarder_options_fix
Fix for xgressDialQueueLength option in forwarder.options
2021-03-09 17:11:07 -05:00
Michael Quigley 8c14bfd607 Fix for xgressDialQueueLength option in forwarder.options. 2021-03-09 16:56:18 -05:00
Paul Lorenz ece7b4546e Allow configuring metrics report interval and queue depth 2021-03-09 14:28:49 -05:00
Paul Lorenz 8d3ea03306 Use bitset for xgress flags 2021-03-09 12:14:25 -05:00
Michael Quigley 152da46d01 Report idle sessions to controller. (#173) 2021-03-05 13:45:43 -05:00
Michael Quigley 11fdf96492 Dial dwell time. (#203) 2021-03-05 13:25:59 -05:00
Michael Quigley 010b320617 Sleep on dial. (#173) 2021-03-04 15:14:01 -05:00
Michael Quigley 24f4be1dc2 Scanner will need the ctrl channel. (#173) 2021-03-04 15:00:40 -05:00
Michael Quigley a380e4cead Wired in the forwarder.scanner. (#173) 2021-03-04 14:57:44 -05:00
Michael Quigley d48a13f513 Wire up forwarder.scanner configuration. (#173) 2021-03-04 14:33:23 -05:00
Michael Quigley 9efd5ede01 forwarder.scanner. (#173) 2021-03-04 14:32:22 -05:00
Michael Quigley 5e40efb73d Track last usage time right on the forwardTable. (#173) 2021-03-03 15:19:04 -05:00
Michael Quigley c45f66c427 Starting on tracking session usage. (#173) 2021-03-03 14:13:35 -05:00
Michael Quigley c9985710cc Support for transport dial timeouts. (#197) 2021-03-02 13:24:30 -05:00
Paul Lorenz 26d6029d84 Don't use same metrics handler pool as controller to avoid metrics feedback loop in tests 2021-02-26 08:37:17 -05:00
Michael Quigley 4d0774c025 Updates for metrics.ProbeLatency timeout parameter (#190) 2021-02-24 14:27:42 -05:00
Paul Lorenz 2b283dcdce Cleanup go-routines on shutdown. Allow Xtrl instances to contribute trace decoders 2021-02-17 20:22:14 -05:00
Paul Lorenz 1823ec01fc support ctrl channel reconnect notifications and turning ctrl channel on/off via debug ops 2021-02-15 21:57:24 -05:00
Paul Lorenz 021fab7d15 Merge pull request openziti/fabric#179 from openziti/add-default-controller-timeout
Add default timeout for requests to the controller
2021-02-12 10:17:28 -05:00
Paul Lorenz a2e9f79702 Merge remote-tracking branch 'origin/main' into forward_fault 2021-02-11 17:22:02 -05:00
Paul Lorenz ea87fc24fe set faultreporter. use right var for ids 2021-02-11 17:19:44 -05:00
Paul Lorenz c95b95a2ad Merge pull request openziti/fabric#185 from openziti/start-xg-timer
Terminate sessions if not started within configurable timeout
2021-02-11 17:08:44 -05:00
Paul Lorenz 41b88488d8 Merge pull request openziti/fabric#188 from openziti/set-reply-to-on-route-msgs
Set reply-to on route message responses
2021-02-11 17:06:39 -05:00
Paul Lorenz 7a983dd9fb Merge pull request openziti/fabric#187 from openziti/add-debug-handler
Add debug handler to router
2021-02-11 17:05:55 -05:00
Michael Quigley f30f6a289d Merge branch 'set-reply-to-on-route-msgs' into forward_fault 2021-02-11 16:59:20 -05:00
Paul Lorenz 0021aa1f2b Set reply-to on route message responses 2021-02-11 16:49:12 -05:00
Paul Lorenz 271bdcf163 Add debug handler to router 2021-02-11 16:35:27 -05:00
Paul Lorenz 4eb40401e5 Add debug handler to router 2021-02-11 16:12:18 -05:00
Michael Quigley 40efcb9a6e strings.join. (#184) 2021-02-11 14:37:02 -05:00
Paul Lorenz 5b0a279dd6 Terminate sessions if not started within configurable timeout 2021-02-11 14:21:13 -05:00
Michael Quigley 422c92201c Roughed-in router-side faulter infrastructure. (#184) 2021-02-11 13:46:36 -05:00
Michael Quigley 38a60a69df Wired in the fault reporting. (#184) 2021-02-11 13:16:18 -05:00
Michael Quigley 9cf6519135 'faulter' scaffolding in 'Forwarder'. (#184) 2021-02-11 13:10:47 -05:00
Michael Quigley 6b0ed1396b Revert 'no destinations'/'no addresses' messages back to debug. 2021-02-11 12:55:55 -05:00
Paul Lorenz fcc5fb9efb Add default timeout for requests to the controller 2021-02-11 10:26:26 -05:00
Paul Lorenz 07900dbbdf If we've already delay closed on rx stop, don't do it again on tx stop 2021-02-11 09:03:56 -05:00
Paul Lorenz a1e1e6fa80 Remove unnecessary check. Make debugs -> warns 2021-02-10 20:40:51 -05:00
Paul Lorenz 9f6a8e8dc6 Remove histograms from data flows paths to reduce lock contention 2021-02-10 20:39:12 -05:00