Commit Graph

1409 Commits

Author SHA1 Message Date
Lawrence, Rendall
ab3fdfff2f update dependencies
closes #37 #38 #39 #40 #41
2023-05-01 16:27:17 +03:00
SOT-TECH
adabdab26f Merge pull request #36 from sot-tech/dependabot/github_actions/actions/setup-go-4
build(deps): bump actions/setup-go from 3 to 4
2023-04-01 13:08:15 +00:00
dependabot[bot]
f7664a1c45 build(deps): bump actions/setup-go from 3 to 4
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-01 12:57:35 +00:00
SOT-TECH
54ff43cb0d Merge pull request #35 from sot-tech/test
Refactor code
2023-03-23 00:41:53 +03:00
Lawrence, Rendall
61f859e3f6 (partially tested) simplify client approval m/w
* sanitize code
2023-03-23 00:34:10 +03:00
Lawrence, Rendall
967611620e (minor) update dependencies 2023-03-22 18:19:51 +03:00
Lawrence, Rendall
665899017e (untested) move unsafe string conversion to pkg
* fix invalid UDP f/e start when no workers provided
* add bench for entire server
2023-03-22 17:51:13 +03:00
Lawrence, Rendall
b956811e40 (untested) refactor code 2023-03-21 18:59:05 +03:00
SOT-TECH
de83f7cdcd Merge pull request #34 from sot-tech/ctxCancel
Suppress `context canceled` error
2023-03-19 20:47:40 +03:00
Lawrence, Rendall
3a32bcae74 Merge branch 'master' into ctxCancel 2023-03-19 20:37:04 +03:00
Lawrence, Rendall
d1ad0eb687 Merge branch 'fasthttp' into ctxCancel 2023-03-19 20:36:38 +03:00
SOT-TECH
19de59a271 Merge pull request #33 from sot-tech/fasthttp
Replace default http.Server with fasthttp.Server
2023-03-19 20:36:01 +03:00
Lawrence, Rendall
869a594aa3 fix lint warnings 2023-03-19 20:33:07 +03:00
Lawrence, Rendall
21c600e921 add verbose to linter 2023-03-19 20:19:55 +03:00
Lawrence, Rendall
63e0b93db4 remove randseed package 2023-03-19 20:13:44 +03:00
Lawrence, Rendall
88f1ef7ca5 suppress context canceled error 2023-03-19 19:52:52 +03:00
Lawrence, Rendall
34c2921be8 add support for no_peer_id HTTP announce parameter
* remove `compact` from req/resp structures, because
it used only in HTTP and only while response write
2023-03-19 18:37:57 +03:00
Lawrence, Rendall
24c1539583 restore udp queryParams implementation
* fix lint warnings
2023-03-18 19:38:14 +03:00
Lawrence, Rendall
da7de52813 change httprouter with fasthttp and simple handler
* add http benchmark
* move HTTP query parameters parsing to http subpackage
* update dependencies
2023-03-18 00:58:35 +03:00
Lawrence, Rendall
e5039131b3 update dependencies 2023-03-03 12:53:35 +03:00
SOT-TECH
98ba900f3e Merge pull request #32 from sot-tech/dependabot/go_modules/github.com/jackc/pgx/v5-5.3.1
build(deps): bump github.com/jackc/pgx/v5 from 5.3.0 to 5.3.1
2023-03-03 12:52:21 +03:00
Lawrence, Rendall
13dbeb6318 add separate job for golangci wf 2023-03-03 12:47:56 +03:00
Lawrence, Rendall
3e5a26dd50 fix lint warnings, update wf go version 2023-03-03 12:21:57 +03:00
SOT-TECH
c545f3e637 Merge pull request #31 from sot-tech/dependabot/go_modules/github.com/stretchr/testify-1.8.2
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
2023-03-03 12:03:54 +03:00
dependabot[bot]
4574dd3939 build(deps): bump github.com/jackc/pgx/v5 from 5.3.0 to 5.3.1
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.3.0...v5.3.1)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 12:59:12 +00:00
dependabot[bot]
bc12a64453 build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 12:58:55 +00:00
SOT-TECH
9c0a49de49 Merge pull request #30 from sot-tech/dep
Update dependencies
2023-02-21 16:59:32 +03:00
Lawrence, Rendall
57c594c207 mod tidy 2023-02-21 16:45:45 +03:00
Lawrence, Rendall
4c21bfa100 update dependencies 2023-02-21 16:34:45 +03:00
SOT-TECH
35e9cf7f54 Merge pull request #29 from sot-tech/redis_v9
Redis v9
2023-02-10 00:28:07 +03:00
Lawrence, Rendall
100ce660f6 fix nolint directive 2023-02-10 00:24:23 +03:00
Lawrence, Rendall
96cc4f7eac update go-redis to v9 2023-02-10 00:19:42 +03:00
SOT-TECH
9264fd1431 Merge pull request #27 from sot-tech/dependabot/go_modules/github.com/MicahParks/keyfunc-1.9.0
build(deps): bump github.com/MicahParks/keyfunc from 1.7.0 to 1.9.0
2023-02-09 23:34:45 +03:00
SOT-TECH
336734caf5 Merge pull request #28 from sot-tech/dependabot/go_modules/github.com/rs/zerolog-1.29.0
build(deps): bump github.com/rs/zerolog from 1.28.0 to 1.29.0
2023-02-09 23:33:47 +03:00
dependabot[bot]
4d9802c2c5 build(deps): bump github.com/rs/zerolog from 1.28.0 to 1.29.0
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.28.0 to 1.29.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.28.0...v1.29.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 12:04:45 +00:00
dependabot[bot]
c5b726bf88 build(deps): bump github.com/MicahParks/keyfunc from 1.7.0 to 1.9.0
Bumps [github.com/MicahParks/keyfunc](https://github.com/MicahParks/keyfunc) from 1.7.0 to 1.9.0.
- [Release notes](https://github.com/MicahParks/keyfunc/releases)
- [Commits](https://github.com/MicahParks/keyfunc/compare/v1.7.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/MicahParks/keyfunc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 12:04:28 +00:00
SOT-TECH
8fe4aa054a Merge pull request #23 from sot-tech/test
Minor improvements
2022-12-06 13:56:39 +03:00
Lawrence, Rendall
27ae2db50c (minor) update dependencies
resolves #24
resolves #25
resolves #26
2022-12-06 13:49:38 +03:00
Lawrence, Rendall
4006f6fd42 (minor) fix udp.TestReuseGeneratorGenerate clause 2022-12-01 00:02:11 +03:00
Lawrence, Rendall
cbfd37ac9c (minor) fix UDP connection ID type in tests 2022-11-30 23:57:36 +03:00
Lawrence, Rendall
99e30961ef (minor) convert UDP private key to bytea 2022-11-30 23:52:28 +03:00
Lawrence, Rendall
3b1c713c85 move PRNG to pkg, fix lint warnings 2022-11-30 23:20:05 +03:00
Lawrence, Rendall
f80e9af156 (untested) add salt to UDP connection ID 2022-11-30 19:10:23 +03:00
Lawrence, Rendall
a69a476024 remove memory explicit deallocation because of race 2022-11-30 18:17:12 +03:00
Lawrence, Rendall
3b1b74ad4f simplify udp connection ID generator 2022-11-29 18:15:21 +03:00
Lawrence, Rendall
19b4b68115 revert 7e3204b9dd and replace with map+rwmutex wrappers 2022-11-27 19:32:42 +03:00
Lawrence, Rendall
765ea51796 (minor) fix log call in memory.Validate 2022-11-27 17:19:55 +03:00
Lawrence, Rendall
e1888a18a3 update dependencies 2022-11-27 17:13:35 +03:00
Lawrence, Rendall
83da66f1b1 pre-allocate peers in memory.AnnouncePeers
* change go version to 1.19 in linter
2022-11-27 17:07:31 +03:00
Lawrence, Rendall
7e3204b9dd replace go map with cornelk/hashmap in memory store 2022-11-27 16:22:04 +03:00