Skip to content

Commit

Permalink
Set NoWait to true for tor listen config (#368)
Browse files Browse the repository at this point in the history
In certain network scenarios, starting an onion service may cause
a blockage that also affects the clear web service. To avoid this
issue, set the `NoWait` parameter to `true`.
This will allow the web service to start without delay, even in
the presence of network congestion or other issues.

* Fix rpm build
  • Loading branch information
waybackarchiver committed Apr 16, 2023
1 parent be5fdb8 commit 5fe18b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
.github/
.semgrepignore
build/binary
docs/
#docs required by rpm build
#docs/
install.sh
mkdocs.yml
snapcraft.yaml
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Add docker-compose.yml ([#367](https://github.com/wabarc/wayback/pull/367))

### Changed
- Set NoWait to true for tor listen config ([#368](https://github.com/wabarc/wayback/pull/368))

## [0.19.1] - 2023-03-21

### Fixed
Expand Down
1 change: 1 addition & 0 deletions service/httpd/tor.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func (h *Httpd) startTorServer(server *http.Server) error {
LocalListener: listener,
RemotePorts: h.opts.TorRemotePorts(),
Version3: true,
NoWait: true,
Key: pvk,
})
if err != nil {
Expand Down

0 comments on commit 5fe18b7

Please sign in to comment.