Commit Graph

518 Commits

Author SHA1 Message Date
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 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
Paul Lorenz 3c098defb0 Add more router connect error logging (#300)
* Add more router connect error logging, fix cert validity check, handle multiple certs properly
2022-01-03 14:25:30 -05:00
Paul Lorenz eb5e5ab4cc Fix panic on router missing message. Tidy logging, put more variables in fields 2022-01-03 09:34:18 -05:00
Paul Lorenz 60c4142bf6 Merge pull request openziti/fabric#296 from openziti/inspect-support
Add support for inspect
2021-12-13 09:25:56 -05:00
Paul Lorenz 22fe03044c Merge pull request openziti/fabric#299 from openziti/remove-bolt-trace-and-tool
Remove bolt trace which required custom bolt. Remove stackdump_tool, …
2021-12-11 00:21:27 -05:00
Paul Lorenz 7a4c831df9 Remove bolt trace which required custom bolt. Remove stackdump_tool, which is moving to ziti-ops 2021-12-10 17:48:27 -05:00
Paul Lorenz a7c96bb478 Merge pull request openziti/fabric#297 from openziti/verify-link-before-ctrl-ch
Ensure we don't return a nil control channel while starting up
2021-12-08 15:23:38 -05:00
Paul Lorenz 56c9159907 Ensure we don't return a nil control channel while starting up 2021-12-08 15:16:41 -05:00
Paul Lorenz e3c870c505 Merge pull request openziti/fabric#298 from openziti/link-log-tidy
Tidy link logging
2021-12-08 15:15:21 -05:00
Paul Lorenz d6b2c16304 Make sure we don't deadlock when recursively calling close 2021-12-08 15:11:54 -05:00
Paul Lorenz c468cdd795 Tidy link logging 2021-12-07 16:14:06 -05:00
Paul Lorenz cbbd3fee4b Add codeowners file 2021-12-03 16:14:51 -05:00
Paul Lorenz 0164e5572e Add support for inspect 2021-12-03 16:13:41 -05:00
Andrew 82b5b023a2 Merge pull request openziti/fabric#295 from openziti/add.router.info.to.already.connected
adds router id and name to already connected error
2021-12-03 09:11:10 -05:00
Paul Lorenz 8dd3d17ae4 Merge pull request openziti/fabric#293 from openziti/logging-tweaks
Tweaks to logging
2021-12-01 22:43:31 -05:00
Paul Lorenz 9c71277c99 Merge pull request openziti/fabric#294 from openziti/add-fabric-auth-test
Fix fabric auth and add tests
2021-12-01 17:24:23 -05:00
Paul Lorenz ba43810ffa Remove error return that's always nil 2021-12-01 17:15:27 -05:00
Paul Lorenz 5b6a2eb988 Fix fabric auth and add tests 2021-12-01 17:03:41 -05:00
Andrew Martinez ab4e649d61 adds router id and name to already connected error 2021-12-01 14:45:01 -05:00
Paul Lorenz ba635a24b0 Add codeowners file 2021-12-01 13:54:44 -05:00
Paul Lorenz f19cf0ce09 Tweaks to logging 2021-12-01 13:53:52 -05:00
Paul Lorenz 469bb9ee79 Merge pull request openziti/fabric#288 from openziti/rest-mgmt
Add xweb based REST API for the fabric
2021-11-30 15:12:43 -05:00
Paul Lorenz d63b5b4071 Update link/circuit doc 2021-11-30 14:31:34 -05:00
Paul Lorenz 00957fe8e6 Implement router update/patch 2021-11-30 14:26:07 -05:00
Paul Lorenz 5a54c9b041 Add circuit router implementation 2021-11-30 14:05:23 -05:00
Paul Lorenz ea1bac0b17 Add link implementation. Convert link to string from identity.TokenId 2021-11-30 14:05:21 -05:00
Paul Lorenz ee15d29be5 Add initial rest interfaces for links and circuits 2021-11-30 13:57:36 -05:00
Paul Lorenz d4f2d48545 Use 64 bit ids instead of 32 ids for links and circuits 2021-11-30 13:57:36 -05:00
Paul Lorenz 52cfbbbe29 Add REST based management API 2021-11-30 13:57:35 -05:00
Paul Lorenz 390aef981b Merge pull request openziti/fabric#292 from openziti/fix-potential-deadlock
recieve handlers should never send as they may block forever if the u…
2021-11-30 13:40:54 -05:00
Paul Lorenz f3de039747 Merge pull request openziti/fabric#291 from openziti/router-perf-follow-up
Router perf follow up
2021-11-30 13:40:23 -05:00
Paul Lorenz b9e87a1597 recieve handlers should never send as they may block forever if the underlying channel closes 2021-11-30 12:55:37 -05:00
Paul Lorenz 3a50999365 Add cache of links by router 2021-11-23 08:24:24 -05:00
Paul Lorenz 3968c268b9 Fix benchmark. Add some additional tuning 2021-11-22 17:35:12 -05:00
Paul Lorenz 1efd4ebb3d Fix routing benchmark 2021-11-22 15:01:25 -05:00
Paul Lorenz 2cff4aa71f Merge pull request openziti/fabric#289 from openziti/routing-perf
Add routing perf benchmark and improve router perf
2021-11-19 15:35:07 -05:00
Paul Lorenz 51a4fe8ed9 Import route evaluation with more efficient data structure 2021-11-19 15:17:56 -05:00
Paul Lorenz 3c40ccecf1 Merge pull request openziti/fabric#290 from openziti/routing-perf-test
Add routing perf test and fix link cost check
2021-11-19 15:15:50 -05:00
Paul Lorenz 4847cf1453 Add routing perf test and fix link cost check 2021-11-19 15:08:29 -05:00
Paul Lorenz 88dda60c39 Merge pull request openziti/fabric#285 from openziti/add-link-dial-test
Add test for link dials
2021-11-16 10:53:56 -05:00
Paul Lorenz 9289b69870 Merge pull request openziti/fabric#286 from openziti/log-fix
Remove redundant log message and fix spelling. Fixes openziti/fabric#271
2021-11-16 10:53:43 -05:00
Paul Lorenz f1faeb944c Remove redundant log message and fix spelling. Fixes openziti/fabric#271 2021-11-15 16:52:40 -05:00
Paul Lorenz db86c995c9 Add test for link dials 2021-11-15 14:56:48 -05:00
Paul Lorenz f3e9961524 Add initial AT infrastructure, largely copied from edge. Add mgmt channel test 2021-11-12 16:30:56 -05:00