Sergey Arkhipov
bd39fa63cb
Merge pull request #199 from 9seconds/update-lint
Update golangci-lint to 1.41.1
4 anos atrás
9seconds
eaa757b6d0
Update code to the latest golangci-lint
4 anos atrás
9seconds
dc99dd165e
Update golangci-lint to 1.41.1
4 anos atrás
Sergey Arkhipov
7c70fd8079
Merge pull request #198 from 9seconds/simple-run
Simple run mode
4 anos atrás
9seconds
dcbbb49607
Update README
4 anos atrás
9seconds
1050ca0b97
Fix lint issues
4 anos atrás
9seconds
c85c88efd6
Add simple-run command
4 anos atrás
9seconds
c53364d952
Add test for making QR code url
4 anos atrás
9seconds
ed91290e47
Add test for reading config
4 anos atrás
9seconds
3fd5e9eb19
Rework cli
4 anos atrás
9seconds
87ed1d1aa7
Move config2 into config
4 anos atrás
9seconds
ec4f0656fb
Add updated version of config
4 anos atrás
Sergey Arkhipov
889ab6c227
Merge pull request #195 from 9seconds/lint-1.40
Update golangci-lint to 1.40.1
5 anos atrás
9seconds
e1864377c2
Update golangci-lint to 1.40.1
5 anos atrás
9seconds
4c8925ab65
Update depdendencies
5 anos atrás
Sergey Arkhipov
bf34f0c92d
Merge pull request #191 from 9seconds/goreleaser
Add support of goreleaser
5 anos atrás
9seconds
604b1d2597
Add support of goreleaser
5 anos atrás
Sergey Arkhipov
b19f491fc8
Merge pull request #189 from 9seconds/relay-close-racecondition
Fix race condition in closing a relay
5 anos atrás
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 anos atrás
9seconds
0882d45d6a
Update dependencies
5 anos atrás
9seconds
86c6541e0d
Small typo
5 anos atrás
Sergey Arkhipov
cc1f60c4a6
Merge pull request #187 from 9seconds/trimpath
Add trimpath for better build reproducibility
5 anos atrás
9seconds
700f71bb31
Add trimpath for better build reproducibility
5 anos atrás
Sergey Arkhipov
097b52c8ef
Make values in tag meaning more consistent
5 anos atrás
Sergey Arkhipov
c3ffd7a307
Merge pull request #184 from 9seconds/e2e-integration-test
Add a real integration test
5 anos atrás
9seconds
fe3b0f3ca5
Add a real integration test
5 anos atrás
Sergey Arkhipov
2273a0e4af
Merge pull request #183 from 9seconds/test-stage
Add option to use telegram test dcs
5 anos atrás
9seconds
115510985a
Add option to use telegram test dcs
5 anos atrás
9seconds
2b5b325722
Add doc for cli package
5 anos atrás
9seconds
c536cbecd5
Fix a link to go reference
5 anos atrás
9seconds
5e9d0649a2
Update dependencies
5 anos atrás
9seconds
585ebfeb50
Update golanci-lint
5 anos atrás
Sergey Arkhipov
81bca75c25
Merge pull request #180 from 9seconds/v2
V2
5 anos atrás
9seconds
4f048a3b82
Update README
5 anos atrás
9seconds
43f5d2131e
Add test for client hello validation
5 anos atrás
9seconds
e2073f0585
Remove timeattack module
5 anos atrás
9seconds
0652f322fa
Add docstrings to a logger
5 anos atrás
9seconds
d3aa0f2de5
Add mtglib-level documentation
5 anos atrás
9seconds
40c6cf294a
Add documentation for the objects of mtglib
5 anos atrás
9seconds
4c38ea2b11
Refactor some configuration to proxy_opts
5 anos atrás
9seconds
e6d444546f
Add documentation for a secret
5 anos atrás
9seconds
611583ba88
Add doc strings to mtglib events
5 anos atrás
9seconds
463af648ce
Rework events
5 anos atrás
9seconds
b748603096
Add docs for stats
5 anos atrás
9seconds
54a7c6a2a5
Small subtle optimizations of faketls
5 anos atrás
9seconds
a3bae795c4
Add documentation for timeattack
5 anos atrás
9seconds
372c703ad6
Add documentation for network
5 anos atrás
9seconds
0dd890a09d
Add documentation for logger
5 anos atrás
9seconds
0274b3436a
Add documentation for ipblocklist
5 anos atrás
9seconds
04b88cc864
Add documentation for event stream
5 anos atrás