9seconds
eb32766c1f
Update to golangci-lint 1.42.1
пре 4 година
9seconds
787d72cf52
Use install, not go get
пре 4 година
Sergey Arkhipov
ce8f1ebb6c
Merge pull request #216 from 9seconds/configure-fallback-dc
Add configuration option allow-fallback-on-unknown-dc
пре 4 година
9seconds
cd29f3e20b
Add configuration option allow-fallback-on-unknown-dc
пре 4 година
Sergey Arkhipov
3e105f2beb
Merge pull request #215 from 9seconds/9seconds-patch-1
Update Actions permissions
пре 4 година
Sergey Arkhipov
6bbdd99e7f
Update codeql-analysis.yml
пре 4 година
Sergey Arkhipov
894c68019e
Update permissions in files
пре 4 година
Sergey Arkhipov
98f18fc22b
Merge pull request #214 from 9seconds/log-json
Add new BindJSON method to a logger
пре 4 година
Sergey Arkhipov
01b739aa7c
Merge pull request #213 from 9seconds/fix-windows-build
Fix windows build
пре 4 година
9seconds
dbaa743e03
Add new BindJSON method to a logger
пре 4 година
9seconds
d1e5f9d145
Fix windows build
пре 4 година
9seconds
686f177ab9
Correct error for non-getting of underlying connection
пре 4 година
Sergey Arkhipov
706aef8ca1
Merge pull request #211 from 9seconds/docker-build-timelimit
пре 4 година
9seconds
14dfb9506a
Bump docker build timeout to 20 minutes
пре 4 година
Sergey Arkhipov
f742066c54
Merge pull request #210 from 9seconds/fallback-to-random-dc
Fallback to another DC if given is unknown
пре 4 година
9seconds
fbe4d32590
Fallback to another DC if given is unknown
пре 4 година
9seconds
d0f18be91d
Merge remote-tracking branch 'origin/stable'
пре 4 година
9seconds
929b73e2eb
Merge remote-tracking branch 'origin/master' into stable
пре 4 година
9seconds
6b7364238a
Update dependencies
пре 4 година
Sergey Arkhipov
866906e770
Merge pull request #206 from 9seconds/golang-1.17-v2
Upgrade to golang 1.17
пре 4 година
9seconds
b3c8c4a47d
Upgrade to golang 1.17
пре 4 година
Sergey Arkhipov
fbc7499cda
Merge pull request #203 from 9seconds/simplify-time-randomization
Simplify TCP relay time randomization
пре 4 година
9seconds
ca5800cf60
Simplify tcp relay time randomization
пре 4 година
Sergey Arkhipov
00bb7be900
Merge pull request #202 from 9seconds/golangcilint-1.42
пре 4 година
9seconds
e8c70603f7
Upgrade golangci-lint for 1.42
пре 4 година
Sergey Arkhipov
9d72904508
Merge pull request #200 from 9seconds/aggressive-tcp-relay
Change algorithm of TCP relaying
пре 4 година
9seconds
456ed5b051
Change algorithm of TCP relaying
пре 4 година
9seconds
4b7be8c565
Merge remote-tracking branch 'origin/stable'
пре 4 година
9seconds
8758208de6
Merge remote-tracking branch 'origin/master' into stable
пре 4 година
9seconds
6cd91600b5
Update dependencies
пре 4 година
Sergey Arkhipov
bd39fa63cb
Merge pull request #199 from 9seconds/update-lint
Update golangci-lint to 1.41.1
пре 4 година
9seconds
eaa757b6d0
Update code to the latest golangci-lint
пре 4 година
9seconds
dc99dd165e
Update golangci-lint to 1.41.1
пре 4 година
Sergey Arkhipov
7c70fd8079
Merge pull request #198 from 9seconds/simple-run
Simple run mode
пре 4 година
9seconds
dcbbb49607
Update README
пре 4 година
9seconds
1050ca0b97
Fix lint issues
пре 4 година
9seconds
c85c88efd6
Add simple-run command
пре 4 година
9seconds
c53364d952
Add test for making QR code url
пре 4 година
9seconds
ed91290e47
Add test for reading config
пре 4 година
9seconds
3fd5e9eb19
Rework cli
пре 4 година
9seconds
87ed1d1aa7
Move config2 into config
пре 4 година
9seconds
ec4f0656fb
Add updated version of config
пре 4 година
9seconds
0c5d487fae
Merge remote-tracking branch 'origin/master' into stable
пре 5 година
Sergey Arkhipov
889ab6c227
Merge pull request #195 from 9seconds/lint-1.40
Update golangci-lint to 1.40.1
пре 5 година
9seconds
e1864377c2
Update golangci-lint to 1.40.1
пре 5 година
9seconds
4c8925ab65
Update depdendencies
пре 5 година
Sergey Arkhipov
bf34f0c92d
Merge pull request #191 from 9seconds/goreleaser
Add support of goreleaser
пре 5 година
9seconds
604b1d2597
Add support of goreleaser
пре 5 година
Sergey Arkhipov
b19f491fc8
Merge pull request #189 from 9seconds/relay-close-racecondition
Fix race condition in closing a relay
пре 5 година
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.
пре 5 година