Commit Graph

152 Commits

Author SHA1 Message Date
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
Joachim Bauch 559f1e28ae
Optionally disable certificate validation for proxy connections. 2020-12-16 15:17:44 +01:00
Joachim Bauch 4427953a69
Merge pull request #65 from strukturag/proxy-ping
Send ping to proxy regularly to detect broken connection.
2020-12-11 16:11:35 +01:00
Joachim Bauch 9ad4a0c021
Update read deadline before reading. 2020-12-11 16:01:49 +01:00
Joachim Bauch d2b7fafde5
Send ping to proxy regularly to detect broken connection. 2020-12-11 15:58:35 +01:00
Joachim Bauch 823be4ed43
Update changelog for 0.2.0 2020-12-08 14:00:05 +01:00
Joachim Bauch b949aed820
Merge pull request #62 from strukturag/ignore-default-ports
Canonicalize all URLs before comparisons / lookups.
2020-11-30 11:48:47 +01:00
Joachim Bauch d9210b8b1f
Canonicalize all URLs before comparisons / lookups.
Otherwise urls like "https://server:443/foo/" will fail to find entries for
"https://server/foo/" and vice versa.
2020-11-30 11:43:43 +01:00
Joachim Bauch 34b0b9045b
Merge pull request #61 from strukturag/virtual-sessions
Add support for virtual sessions
2020-11-30 11:27:49 +01:00
Joachim Bauch 5188c159c5
Update virtual sessions for SIP support in Talk. 2020-11-30 11:21:52 +01:00
Joachim Bauch b6ce723a8b
Make sure the backend URL always points to the signaling controller. 2020-11-30 11:21:52 +01:00
Joachim Bauch 669ec5c1af
Support "internal" messages to create/update/remove virtual sessions. 2020-11-30 11:21:51 +01:00
Joachim Bauch dc0e927c09
Merge pull request #60 from stweil/master
README: Add missing information for creating group
2020-11-26 12:34:43 +01:00
Stefan Weil b1978b0a19 README: Add missing information for creating group
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-11-26 12:29:21 +01:00
Joachim Bauch 9206a56113
Merge pull request #56 from strukturag/proxy-client-cleanup
Fix proxy client cleanup
2020-10-30 08:41:32 +01:00
Joachim Bauch 4cd33707c4
Merge pull request #57 from SystemKeeper/patch-1
Add '--full-trickle' to janus command
2020-10-29 08:22:23 +01:00
SystemKeeper 90fd048015
Add '--full-trickle' to janus command
The signaling server warns about the missing '--full-trickle' parameter, therefore adding this.
2020-10-28 23:37:04 +01:00
Joachim Bauch 2119993606
Use publisher/subscriber ids that stay the same across reconnections.
Otherwise it could happen that objects were kept in maps (e.g. on the
proxy server) if they reconnected to the WebRTC gateway during their
lifetime. This resulted in incorrect load calculations.
2020-10-26 09:51:33 +01:00
Joachim Bauch 7681e26fbb
Use publisher/subscriber objects as map keys. 2020-10-26 09:34:11 +01:00
Joachim Bauch 18c1874333
Merge pull request #55 from strukturag/mcu-messages-session
Send MCU messages through the session.
2020-10-21 14:38:03 +02:00
Joachim Bauch e6f6f0a846
Check combining while building pending messages instead of while sending out. 2020-10-21 14:34:53 +02:00
Joachim Bauch dd327a841e
Send MCU messages through the session.
This helps with clients disconnecting / resuming while MCU responses
are being sent to them. With the change, the messages are stored in
the session and sent out when clients resume their session.
2020-10-21 14:19:57 +02:00
Joachim Bauch 644d9a1737
Include load in stats response. 2020-10-15 13:27:08 +02:00
Joachim Bauch 7d690d049f
Merge pull request #53 from strukturag/reload-improvements
Minor reload improvements
2020-10-14 16:18:44 +02:00
Joachim Bauch 52e5978b19
Handle old-style MCU configuration with type but no url.
In the past this disabled the MCU but now was triggering an error due to an
invalid (empty) URL. Keep old behaviour and disable MCU again.
2020-10-07 15:00:35 +02:00
Joachim Bauch 5797111033
Log what backends are added/changed/removed on reload. 2020-10-06 16:37:35 +02:00
Joachim Bauch cd4d930835
Update reload tests
- Add test that reloads without changes.
- Add test that removes backend from shared host.
2020-10-06 16:37:33 +02:00
Joachim Bauch aa0191ef7e
Don't allow reload with old-style backend configurations. 2020-10-06 16:36:53 +02:00
Joachim Bauch f7ed6addb7
Always load backends in the order they are configured. 2020-10-06 16:36:49 +02:00
Joachim Bauch bef54339e3
Merge pull request #52 from hosting-de-labs/feature/reload-backendconfigs
Feature: Reload Backends on SIGHUP
2020-10-06 15:37:59 +02:00
Oliver Dick 8d29c9cda9 Feature:
- Reload Backend Configuration without destroying unchanged backends
	- Only used when configured with backends parameter
2020-10-06 15:10:38 +02:00
Joachim Bauch 67e66c0e5a
Log something when proxy publisher/subscriber is deleted. 2020-09-24 12:43:27 +02:00
Joachim Bauch 76f327b919
Log session id when creating publish/subscriber. 2020-09-16 16:51:11 +02:00