Commit Graph
484 Commits
Author SHA1 Message Date
Joachim Bauch 047e6655a1 Remove unnecessary assignments. 2021-04-21 14:12:11 +02:00
Joachim Bauch 0dd2e8a086 Remove remaining virtual sessions if client session is closed.
Previously any virtual sessions that have not been explicitly closed were
not removed from the backend if the client session was closed / expired.
2021-04-21 14:05:45 +02:00
Joachim Bauch d772e10fec Fix typo in JSON option. 2021-04-21 13:48:34 +02:00
kleenerandroot fab080f16a Update Docker components (#78)
Updates to Docker build:
* Alpine 1.13,
* usrsctp 70d42ae95a1de83bd317c8cc9503f894671d1392
* libsrtp 2.3.0
* Janus 0.11.1
* Added libogg-dev
* Nats 2.2.1
* golang 1.16

Co-authored-by: root <root@kleener.eu>
2021-04-15 08:21:20 +02:00
Joachim Bauch 048b3b2f7d Merge pull request #96 from strukturag/cache-easyjson
make: Cache easyjson results.
2021-04-14 15:17:35 +02:00
Joachim Bauch b95a538e87 make: Cache easyjson results. 2021-04-14 15:11:39 +02:00
Joachim Bauch b6f20b20f2 Update to go.etcd.io/etcd 3.4.15 2021-04-14 15:00:39 +02:00
Joachim Bauch bccf2d5afd Remove deprecated github.com/gorilla/context 2021-04-14 14:23:53 +02:00
Joachim Bauch b32ef67692 Merge pull request #95 from strukturag/dependabot/go_modules/github.com/gorilla/websocket-1.4.2
Bump github.com/gorilla/websocket from 1.2.0 to 1.4.2
2021-04-14 14:21:36 +02:00
Joachim Bauch 2b4997ebfc Merge pull request #94 from strukturag/dependabot/go_modules/github.com/google/uuid-1.2.0
Bump github.com/google/uuid from 1.1.2 to 1.2.0
2021-04-14 11:08:55 +02:00
dependabot[bot] a4f4ca6dfd Bump github.com/google/uuid from 1.1.2 to 1.2.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Commits](https://github.com/google/uuid/compare/v1.1.2...v1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 09:02:43 +00:00
dependabot[bot] fc701852a5 Bump github.com/gorilla/websocket from 1.2.0 to 1.4.2
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.2.0 to 1.4.2.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.2.0...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 09:02:40 +00:00
Joachim Bauch 8ad0396a93 Run "go mod tidy". 2021-04-14 11:00:31 +02:00
Joachim Bauch 09411714d0 Merge pull request #93 from strukturag/dependabot
Add dependabot integration.
2021-04-13 17:20:39 +02:00
Joachim Bauch 0cc37d88e6 Add dependabot integration. 2021-04-13 17:13:21 +02:00
Joachim Bauch fe4c02130c Merge pull request #91 from strukturag/update-maxminddb-golang
Update maxminddb-golang to 1.8.0
2021-04-13 17:05:15 +02:00
Joachim Bauch b29b98f320 Update maxminddb-golang to 1.8.0 2021-04-13 16:51:55 +02:00
Joachim Bauch e306ee6baf Merge pull request #92 from strukturag/update-nats.go
Update nats.go to 1.10.0
2021-04-13 16:51:25 +02:00
Joachim Bauch 9b0c4fab00 Update nats.go to 1.10.0 2021-04-13 16:47:28 +02:00
Joachim Bauch 2c126354a6 Merge pull request #90 from strukturag/remove-golang-x-net-context
Remove unnecessary dependency golang.org/x/net
2021-04-13 16:39:30 +02:00
Joachim Bauch 57deed0ce2 Remove unnecessary dependency golang.org/x/net 2021-04-13 16:35:32 +02:00
Joachim Bauch 7ee108c863 Merge pull request #89 from strukturag/update-gorilla-mux
Update gorilla/mux to 1.8.0
2021-04-13 16:34:33 +02:00
Joachim Bauch 87568ca891 Update gorilla/mux to 1.8.0 2021-04-13 16:22:30 +02:00
Joachim Bauch 2436d93aa2 Merge pull request #88 from strukturag/go-mod
Switch dependency tracking to Go modules.
2021-04-09 16:42:30 +02:00
Joachim Bauch 067af00d45 CI: Also test with golang 1.16 2021-04-09 16:35:10 +02:00
Joachim Bauch 8ba2e0ad64 Switch dependency tracking to Go modules.
With that bump minimum required version to Go 1.13.
2021-04-09 16:15:00 +02:00
Joachim Bauch eecb7d61dd Revert "CI: Also test with golang 1.16"
Needs changes to build steps first.

This reverts commit d8da0f43e3.
2021-04-08 15:36:38 +02:00
Joachim Bauch d8da0f43e3 CI: Also test with golang 1.16 2021-04-08 15:33:08 +02:00
Joachim Bauch 43f0b1d598 Merge pull request #83 from strukturag/legacy-ptype
Stop using legacy ptype "listener".
2021-02-24 10:06:02 +01:00
Joachim Bauch 45b543d594 Stop using legacy ptype "listener". 2021-02-24 08:49:10 +01:00
Frederic Pollmann 5717850389 fix(docs): update config example for Apache proxy config 2021-02-18 08:51:23 +01:00
Joachim Bauch 61000f5f69 Merge pull request #75 from strukturag/multiple-godeps
make: Only build "godeps" binary once.
2021-01-21 14:27:30 +01:00
Joachim Bauch 865798f920 make: Only build "godeps" binary once. 2021-01-21 14:23:09 +01:00
Joachim Bauch 043691d703 Merge pull request #72 from strukturag/align-for-atomic
Align 64-bit members that are accessed atomically.
2021-01-21 13:38:16 +01:00
Joachim Bauch b89e017ae4 Merge pull request #67 from strukturag/limit-sessions
Support limiting number of sessions per backend.
2021-01-07 09:39:35 +01:00
Joachim Bauch f801fc8537 Include "meta" field in client OCS response (follow-up to #74). 2021-01-07 09:32:57 +01:00
Joachim Bauch fd96d4e506 Merge pull request #74 from loelkes/master
Make the response from the client auth backend OCS compliant
2021-01-07 09:26:46 +01:00
Joachim Bauch fa9446efc4 Don't generate easyjson files concurrently. 2021-01-07 09:20:16 +01:00
Joachim Bauch 464a683e53 Merge pull request #73 from strukturag/parallel-make
Update make targets to support parallel building.
2021-01-05 09:14:55 +01:00
Joachim Bauch 245e538fae CI: Enable parallel builds. 2021-01-05 09:11:20 +01:00
Joachim Bauch d2af40d229 Update make targets to support parallel building. 2021-01-05 09:11:19 +01:00
Joachim Bauch af04cc956d Add missing lock when accessing internal sessions map. 2021-01-05 09:10:24 +01:00
Joachim Bauch 82c20ba930 Align 64-bit members that are accessed atomically. 2021-01-05 08:37:09 +01:00
Christian Loelkes 4af4a47ffd fix incorrect OCS response from auth backend
For compliance with the OCS standard, the OCS response structure MUST
be {ocs: {meta:{...}, data: {...}}}. Until now the temporary auth
backend from the client only responded with the data and triggered an
'Incomplete OCS response' from the signaling server.
2020-12-27 12:56:18 +01:00
Christian Loelkes f894837cd1 handle error message from server 2020-12-27 12:19:13 +01:00
Joachim Bauch 97a6049154 Merge pull request #69 from morph027/crosscompile
Adjust godeps for multiarch builds
2020-12-22 00:35:22 +01:00
morph027 25b2722a4c adjust godeps for multiarch builds 2020-12-18 21:20:56 +01:00
Joachim Bauch a3e34143c5 Support limiting number of sessions per backend. 2020-12-17 14:56:45 +01:00
Joachim Bauch b62beb2d31 Don't wrap Error object twice. 2020-12-17 14:32:27 +01:00
Joachim Bauch 64cccab641 Log all non-websocket close errors. 2020-12-16 15:29:22 +01:00