Pion
78e09c3e91
Update CI configs to v0.11.25
...
Update lint scripts and CI configs.
2025-08-31 15:32:10 -04:00
Xiaobo Liu
6f87a7dec0
Interface{} can be replaced by any
...
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com >
2025-05-29 09:26:00 +08:00
Joe Turki
0397f2187b
Upgrade golangci-lint, more linters
...
Introduces new linters, upgrade golangci-lint to version (v1.63.4)
2025-01-18 10:57:33 -06:00
renovate[bot]
898805a5ae
Update module github.com/pion/dtls/v2 to v3
...
Generated by renovateBot
2024-08-11 21:50:28 -04:00
renovate[bot]
26873a1552
Update module github.com/pion/transport/v2 to v3
...
Generated by renovateBot
2023-09-05 10:56:46 -04:00
Steffen Vogel
e25856d6a7
Support transport.Net for encrypted connections
...
Until now, TLS and DTLS backed STUN clients
did not use a custom transport.Net.
2023-05-10 12:10:26 +02:00
Steffen Vogel
1b14963401
Add stun.DialURI() to create a client from a URI
...
Depending on the schema and transport, this function
establishes also encrypted connections via TLS/DTLS.
2023-05-10 12:10:26 +02:00
Steffen Vogel
ab3e9f2f89
Make package REUSE compliant
2023-04-18 13:19:15 +02:00
Steffen Vogel
7c533756a6
Harmonize nolint directives
2023-04-12 10:22:35 +02:00
Pion
3d933930cc
Update CI configs to v0.7.2
...
Update lint scripts and CI configs.
Excluding codecov.yml.
2022-04-27 21:48:56 -04:00
ZHENK
85839ae560
Update CI configs to v0.4.7
...
Update lint scripts and CI configs.
Excluding codecov.yml.
2020-09-29 23:53:36 -07:00
Atsushi Watanabe
05f7805874
Fix lint errors
...
* Ignore disallowed-functions errors
TODO:
- Handle unintended input as error instead of panic.
- Make executables only for testing as Go test.
* Fix filename lint error
Replace hyphen by underscore.
* Disable godox linter
2020-05-06 00:26:51 -07:00
Moises Marangoni
8136435b6d
Fix Client crash on ARM
...
Align 64bit atomic fields, see
https://golang.org/pkg/sync/atomic/#pkg-note-BUG
Fixes #16
2019-06-02 17:42:53 -07:00
Aleksandr Razumov
3c40912f48
client: add WithNoConnClose option
2019-04-27 21:48:15 +03:00
Aleksandr Razumov
ce5eeedaab
all: reduce newline overuse
2019-03-08 22:12:06 +03:00
Aleksandr Razumov
a9ca8bad51
all: improve linters config and fix some warnings
2019-02-18 23:49:56 +03:00
Aleksandr Razumov
d7d0e9b81c
client: fix Start comment
2019-02-09 13:31:45 +03:00
Aleksandr Razumov
45872027dd
client: fix transaction timeout calculation
2018-08-18 02:26:52 +03:00
Aleksandr Razumov
e27a816226
client: guard s.callback with s.cond.L in callbackWaitHandler
2018-08-18 00:21:54 +03:00
Aleksandr Razumov
be8619dcdb
client: protect clientTransaction.h from being called multiple times
2018-08-16 20:48:29 +03:00
Aleksandr Razumov
6369d2cec7
client: add buffer pool to handleAgentCallback to reduce allocs
2018-08-14 21:03:29 +03:00
Aleksandr Razumov
edb2535d64
client: fix some data races discovered during bench
2018-08-14 20:29:11 +03:00
Aleksandr Razumov
fd3ed9f3d6
client: add "No retransmit" mode.
...
Fixes #40
2018-08-13 18:51:14 +03:00
Aleksandr Razumov
1300034b0a
client: use single mutex for "closed" boolean and transactions
2018-08-13 18:09:07 +03:00
Aleksandr Razumov
3f68426604
client: use ClientOption variadic instead of ClientOptions struct
2018-08-13 14:27:27 +03:00
Aleksandr Razumov
22ad42b8dd
client: refactor error names in handleAgentCallback
2018-08-13 11:46:08 +03:00
Aleksandr Razumov
0598f8e141
client: update defaults and comments
2018-08-13 09:26:36 +03:00
Aleksandr Razumov
66fcc03af3
client: don't use concurrency in agent.start
2018-08-11 17:15:25 +03:00
Aleksandr Razumov
4733f5c5e9
client: fix callbackWaitHandler.reset
2018-08-11 17:05:41 +03:00
Aleksandr Razumov
a967403296
client: update docs
2018-08-11 16:34:20 +03:00
Aleksandr Razumov
b5d8b1cc55
client: align ClientOption TimeoutRate comment
2018-08-11 10:36:30 +03:00
Aleksandr Razumov
ab892f7dca
client: add RTO to ClientOptions
2018-08-11 10:35:22 +03:00
Aleksandr Razumov
7cbaa7f873
client: group ClientOptions by optional and mandatory fields
2018-08-11 10:32:54 +03:00
Aleksandr Razumov
779e88a818
client: add Clock to options
2018-08-11 10:27:55 +03:00
Aleksandr Razumov
320cb10f37
client: introduce Collector
2018-08-11 10:25:55 +03:00
Aleksandr Razumov
2b2b8aafed
agent: use Handler as only argument for NewAgent
2018-08-11 09:48:24 +03:00
Aleksandr Razumov
cb6414e796
client: add Handler option
2018-08-10 21:44:29 +03:00
Aleksandr Razumov
66754a45ad
client: update start method
2018-08-09 14:29:27 +03:00
Aleksandr Razumov
45b231856a
lint: fix warnings
2018-08-09 03:01:44 +03:00
Aleksandr Razumov
e2fc3e0669
{agent,client}: use single handler in Agent
2018-08-09 02:56:14 +03:00
Aleksandr Razumov
a012456653
lint: fix warnings
2018-08-09 01:42:00 +03:00
Aleksandr Razumov
dbf17d2d66
{agent,client}: implement RTO in Client
2018-08-09 01:29:18 +03:00
Aleksandr Razumov
d29ebc8197
{agent,client}: use function-based handler
...
This breaks backward compatibility, however, Agent and Client
are unstable and can change now.
2018-08-08 23:30:57 +03:00
Aleksandr Razumov
bcb4fd1148
client: fix aligncheck
2018-04-29 14:33:19 +03:00
Aleksandr Razumov
f539368a80
client: add initialization checks
2018-04-29 14:20:09 +03:00
Aleksandr Razumov
bb835f8153
client: add finalizer ( fix #36 )
2018-04-29 14:11:43 +03:00
Aleksandr Razumov
2f1a10917a
client: improve code coverage, add error return value for NewClient
2017-12-15 21:32:54 +03:00
Aleksandr Razumov
cbb64515aa
{client,agent}: don't alloc on client.Do
2017-12-15 15:07:25 +03:00
Aleksandr Razumov
0c5e708c79
client: optimize Do
2017-12-15 09:00:07 +03:00
Aleksandr Razumov
fcee96354c
client: pretty-print for StopErr.Error()
2017-10-17 03:11:11 +02:00