Sergey Arkhipov
98f18fc22b
Merge pull request #214 from 9seconds/log-json
Add new BindJSON method to a logger
4 vuotta sitten
Sergey Arkhipov
01b739aa7c
Merge pull request #213 from 9seconds/fix-windows-build
Fix windows build
4 vuotta sitten
9seconds
dbaa743e03
Add new BindJSON method to a logger
4 vuotta sitten
9seconds
d1e5f9d145
Fix windows build
4 vuotta sitten
9seconds
686f177ab9
Correct error for non-getting of underlying connection
4 vuotta sitten
Sergey Arkhipov
706aef8ca1
Merge pull request #211 from 9seconds/docker-build-timelimit
4 vuotta sitten
9seconds
14dfb9506a
Bump docker build timeout to 20 minutes
4 vuotta sitten
Sergey Arkhipov
f742066c54
Merge pull request #210 from 9seconds/fallback-to-random-dc
Fallback to another DC if given is unknown
4 vuotta sitten
9seconds
fbe4d32590
Fallback to another DC if given is unknown
4 vuotta sitten
9seconds
d0f18be91d
Merge remote-tracking branch 'origin/stable'
4 vuotta sitten
9seconds
929b73e2eb
Merge remote-tracking branch 'origin/master' into stable
4 vuotta sitten
9seconds
6b7364238a
Update dependencies
4 vuotta sitten
Sergey Arkhipov
866906e770
Merge pull request #206 from 9seconds/golang-1.17-v2
Upgrade to golang 1.17
4 vuotta sitten
9seconds
b3c8c4a47d
Upgrade to golang 1.17
4 vuotta sitten
Sergey Arkhipov
fbc7499cda
Merge pull request #203 from 9seconds/simplify-time-randomization
Simplify TCP relay time randomization
4 vuotta sitten
9seconds
ca5800cf60
Simplify tcp relay time randomization
4 vuotta sitten
Sergey Arkhipov
00bb7be900
Merge pull request #202 from 9seconds/golangcilint-1.42
4 vuotta sitten
9seconds
e8c70603f7
Upgrade golangci-lint for 1.42
4 vuotta sitten
Sergey Arkhipov
9d72904508
Merge pull request #200 from 9seconds/aggressive-tcp-relay
Change algorithm of TCP relaying
4 vuotta sitten
9seconds
456ed5b051
Change algorithm of TCP relaying
4 vuotta sitten
9seconds
4b7be8c565
Merge remote-tracking branch 'origin/stable'
4 vuotta sitten
9seconds
8758208de6
Merge remote-tracking branch 'origin/master' into stable
4 vuotta sitten
9seconds
6cd91600b5
Update dependencies
4 vuotta sitten
Sergey Arkhipov
bd39fa63cb
Merge pull request #199 from 9seconds/update-lint
Update golangci-lint to 1.41.1
4 vuotta sitten
9seconds
eaa757b6d0
Update code to the latest golangci-lint
4 vuotta sitten
9seconds
dc99dd165e
Update golangci-lint to 1.41.1
4 vuotta sitten
Sergey Arkhipov
7c70fd8079
Merge pull request #198 from 9seconds/simple-run
Simple run mode
4 vuotta sitten
9seconds
dcbbb49607
Update README
4 vuotta sitten
9seconds
1050ca0b97
Fix lint issues
4 vuotta sitten
9seconds
c85c88efd6
Add simple-run command
4 vuotta sitten
9seconds
c53364d952
Add test for making QR code url
4 vuotta sitten
9seconds
ed91290e47
Add test for reading config
4 vuotta sitten
9seconds
3fd5e9eb19
Rework cli
4 vuotta sitten
9seconds
87ed1d1aa7
Move config2 into config
4 vuotta sitten
9seconds
ec4f0656fb
Add updated version of config
4 vuotta sitten
9seconds
0c5d487fae
Merge remote-tracking branch 'origin/master' into stable
5 vuotta sitten
Sergey Arkhipov
889ab6c227
Merge pull request #195 from 9seconds/lint-1.40
Update golangci-lint to 1.40.1
5 vuotta sitten
9seconds
e1864377c2
Update golangci-lint to 1.40.1
5 vuotta sitten
9seconds
4c8925ab65
Update depdendencies
5 vuotta sitten
Sergey Arkhipov
bf34f0c92d
Merge pull request #191 from 9seconds/goreleaser
Add support of goreleaser
5 vuotta sitten
9seconds
604b1d2597
Add support of goreleaser
5 vuotta sitten
Sergey Arkhipov
b19f491fc8
Merge pull request #189 from 9seconds/relay-close-racecondition
Fix race condition in closing a relay
5 vuotta sitten
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 vuotta sitten
9seconds
fec60083a3
Merge remote-tracking branch 'origin/master' into stable
5 vuotta sitten
9seconds
0882d45d6a
Update dependencies
5 vuotta sitten
9seconds
86c6541e0d
Small typo
5 vuotta sitten
Sergey Arkhipov
cc1f60c4a6
Merge pull request #187 from 9seconds/trimpath
Add trimpath for better build reproducibility
5 vuotta sitten
9seconds
700f71bb31
Add trimpath for better build reproducibility
5 vuotta sitten
Sergey Arkhipov
097b52c8ef
Make values in tag meaning more consistent
5 vuotta sitten
Sergey Arkhipov
c3ffd7a307
Merge pull request #184 from 9seconds/e2e-integration-test
Add a real integration test
5 vuotta sitten