Commit graph

32 commits

Author SHA1 Message Date
Joachim Bauch
9cc07c8a65
Remove unused client method and increase test coverage. 2026-02-02 16:01:48 +01:00
Joachim Bauch
ee6f026bbb
Move log test helpers to separate package. 2026-01-13 08:50:40 +01:00
Joachim Bauch
3c41dcdbce
Move common client code to separate package. 2026-01-13 08:49:19 +01:00
Joachim Bauch
9bbc0588e3
Move code for commandline applications to "cmd" folder. 2026-01-12 13:16:49 +01:00
Joachim Bauch
fbf93dca42
Move Talk-specific API to "talk" package. 2026-01-12 13:16:34 +01:00
Joachim Bauch
98764f2782
Move confiuration helpers to config module. 2026-01-12 13:16:27 +01:00
Joachim Bauch
179498f28b
Move signaling api types to api package. 2026-01-12 13:16:25 +01:00
Joachim Bauch
b7f8f83944
Move Talk capabilities to talk package. 2026-01-12 13:16:23 +01:00
Joachim Bauch
a1ec06d802
Move SplitEntries helper to internal package. 2026-01-08 10:24:05 +01:00
Joachim Bauch
4986122493
Run tests in parallel where possible. 2025-12-05 11:09:01 +01:00
Joachim Bauch
6d3ff0c5ba
Silence error about previous defer not running after "log.Fatal". 2025-12-05 11:08:59 +01:00
Joachim Bauch
4586775afc
client: Include version, optimize JSON processing. 2025-12-03 09:52:08 +01:00
Joachim Bauch
87345118d8
client: Send "bye" before closing connection. 2025-12-01 16:44:15 +01:00
Joachim Bauch
aee0e6d866
client: Log bandwidth used (incoming / outgoing). 2025-12-01 16:44:14 +01:00
Joachim Bauch
a31e3c4c53
Update client code for changed backend auth url, fix overflow in delta calculations. 2025-11-24 11:19:25 +01:00
Joachim Bauch
cfd8cf6718
Use gvisor checklocks for static lock analysis.
Also fix locking issues found along the way.

See https://github.com/google/gvisor/tree/master/tools/checklocks for details.
2025-10-01 13:49:32 +02:00
Joachim Bauch
51326069e2
Add dedicated types for different session ids. 2025-09-09 11:38:47 +02:00
Joachim Bauch
210aec62db
Simlify splitting string into non-empty entries. 2025-08-14 16:54:28 +02:00
Joachim Bauch
639588f550
Modernize Go code and check from CI. 2025-08-14 09:23:25 +02:00
Thomas Anderson
4bcd4f9d3a
Allow to set GOMAXPROCS (#965)
Allow to set GOMAXPROCS

https://stackoverflow.com/questions/17853831/what-is-the-gomaxprocs-default-value
https://pkg.go.dev/runtime#GOMAXPROCS
2025-04-16 08:39:15 +02:00
Adphi
bcac66cd7c
sessions secrets: read with environment override
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2025-01-28 13:30:42 +01:00
Joachim Bauch
9aeb57d74e
Encode session ids using protobufs.
This will reduce their size and improve encoding / decoding performance.

Also fixes GO-2024-3106 (Stack exhaustion in Decoder.Decode in encoding/gob).
2024-10-28 14:47:46 +01:00
Joachim Bauch
4b76a49355
Don't use unnecessary pointer to "json.RawMessage".
The slice is a pointer already.
2024-05-16 20:58:42 +02:00
Joachim Bauch
3721fb131f
Don't include empty "auth" field in hello client messages. 2024-04-23 11:03:28 +02:00
Joachim Bauch
c134883138
Switch to atomic types from Go 1.19 2023-10-30 09:32:46 +01:00
Joachim Bauch
fd29f83454
Use "struct{}" channel if only used as signaling mechanism. 2023-06-15 11:30:28 +02:00
Joachim Bauch
156bc360ff
Add hello version "2.0" that authenticates connections using a JWT. 2022-08-03 16:33:45 +02:00
Joachim Bauch
81a52389aa
Stop using deprecated ioutil package. 2022-04-05 12:48:27 +02:00
Joachim Bauch
614c5f6e21
Fix issues reported by revive. 2022-02-11 12:09:42 +01:00
Joachim Bauch
2f4414561e
No need to include trailing newline in log messages. 2021-06-04 16:42:17 +02:00
Joachim Bauch
c8e4bfe007
Fix various issues found by golangci-lint. 2021-04-26 17:25:52 +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