Sergey Arkhipov
3e105f2beb
Merge pull request #215 from 9seconds/9seconds-patch-1
Update Actions permissions
il y a 4 ans
Sergey Arkhipov
6bbdd99e7f
Update codeql-analysis.yml
il y a 4 ans
Sergey Arkhipov
894c68019e
Update permissions in files
il y a 4 ans
Sergey Arkhipov
98f18fc22b
Merge pull request #214 from 9seconds/log-json
Add new BindJSON method to a logger
il y a 4 ans
Sergey Arkhipov
01b739aa7c
Merge pull request #213 from 9seconds/fix-windows-build
Fix windows build
il y a 4 ans
9seconds
dbaa743e03
Add new BindJSON method to a logger
il y a 4 ans
9seconds
d1e5f9d145
Fix windows build
il y a 4 ans
9seconds
686f177ab9
Correct error for non-getting of underlying connection
il y a 4 ans
Sergey Arkhipov
706aef8ca1
Merge pull request #211 from 9seconds/docker-build-timelimit
il y a 4 ans
9seconds
14dfb9506a
Bump docker build timeout to 20 minutes
il y a 4 ans
Sergey Arkhipov
f742066c54
Merge pull request #210 from 9seconds/fallback-to-random-dc
Fallback to another DC if given is unknown
il y a 4 ans
9seconds
fbe4d32590
Fallback to another DC if given is unknown
il y a 4 ans
9seconds
d0f18be91d
Merge remote-tracking branch 'origin/stable'
il y a 4 ans
9seconds
929b73e2eb
Merge remote-tracking branch 'origin/master' into stable
il y a 4 ans
9seconds
6b7364238a
Update dependencies
il y a 4 ans
Sergey Arkhipov
866906e770
Merge pull request #206 from 9seconds/golang-1.17-v2
Upgrade to golang 1.17
il y a 4 ans
9seconds
b3c8c4a47d
Upgrade to golang 1.17
il y a 4 ans
Sergey Arkhipov
fbc7499cda
Merge pull request #203 from 9seconds/simplify-time-randomization
Simplify TCP relay time randomization
il y a 4 ans
9seconds
ca5800cf60
Simplify tcp relay time randomization
il y a 4 ans
Sergey Arkhipov
00bb7be900
Merge pull request #202 from 9seconds/golangcilint-1.42
il y a 4 ans
9seconds
e8c70603f7
Upgrade golangci-lint for 1.42
il y a 4 ans
Sergey Arkhipov
9d72904508
Merge pull request #200 from 9seconds/aggressive-tcp-relay
Change algorithm of TCP relaying
il y a 4 ans
9seconds
456ed5b051
Change algorithm of TCP relaying
il y a 4 ans
9seconds
4b7be8c565
Merge remote-tracking branch 'origin/stable'
il y a 4 ans
9seconds
8758208de6
Merge remote-tracking branch 'origin/master' into stable
il y a 4 ans
9seconds
6cd91600b5
Update dependencies
il y a 4 ans
Sergey Arkhipov
bd39fa63cb
Merge pull request #199 from 9seconds/update-lint
Update golangci-lint to 1.41.1
il y a 4 ans
9seconds
eaa757b6d0
Update code to the latest golangci-lint
il y a 4 ans
9seconds
dc99dd165e
Update golangci-lint to 1.41.1
il y a 4 ans
Sergey Arkhipov
7c70fd8079
Merge pull request #198 from 9seconds/simple-run
Simple run mode
il y a 4 ans
9seconds
dcbbb49607
Update README
il y a 4 ans
9seconds
1050ca0b97
Fix lint issues
il y a 4 ans
9seconds
c85c88efd6
Add simple-run command
il y a 4 ans
9seconds
c53364d952
Add test for making QR code url
il y a 4 ans
9seconds
ed91290e47
Add test for reading config
il y a 4 ans
9seconds
3fd5e9eb19
Rework cli
il y a 4 ans
9seconds
87ed1d1aa7
Move config2 into config
il y a 4 ans
9seconds
ec4f0656fb
Add updated version of config
il y a 4 ans
9seconds
0c5d487fae
Merge remote-tracking branch 'origin/master' into stable
il y a 5 ans
Sergey Arkhipov
889ab6c227
Merge pull request #195 from 9seconds/lint-1.40
Update golangci-lint to 1.40.1
il y a 5 ans
9seconds
e1864377c2
Update golangci-lint to 1.40.1
il y a 5 ans
9seconds
4c8925ab65
Update depdendencies
il y a 5 ans
Sergey Arkhipov
bf34f0c92d
Merge pull request #191 from 9seconds/goreleaser
Add support of goreleaser
il y a 5 ans
9seconds
604b1d2597
Add support of goreleaser
il y a 5 ans
Sergey Arkhipov
b19f491fc8
Merge pull request #189 from 9seconds/relay-close-racecondition
Fix race condition in closing a relay
il y a 5 ans
9seconds
16f9ec690b
Fix race condition in closing a relay
This commit fixes a situration when relay can be reset before all
waiting goroutines are finished. For example, we terminate processing
based on some event: socket error etc. So, error happens and context is
cancelled. After that a main relay goroutine starts to wait. Meanwhile a
second goroutine reaches deferred function and set wg to done. It means
that main goroutine can continue.
In this case this is really possible that we can start resetting before
transmit goroutine really exits.
A correct solution is to always do wg.Done() as a first deferred thing
on entering to a function. In that case we do not need reordering and so
on.
il y a 5 ans
9seconds
fec60083a3
Merge remote-tracking branch 'origin/master' into stable
il y a 5 ans
9seconds
0882d45d6a
Update dependencies
il y a 5 ans
9seconds
86c6541e0d
Small typo
il y a 5 ans
Sergey Arkhipov
cc1f60c4a6
Merge pull request #187 from 9seconds/trimpath
Add trimpath for better build reproducibility
il y a 5 ans