Skip to content

Commit

Permalink
Merge pull request #4942 from thc202/network/stop-proxy-custom-port
Browse files Browse the repository at this point in the history
network: ensure custom port main proxy is stopped
  • Loading branch information
ricekot authored Sep 27, 2023
2 parents ed26654 + bdf48d5 commit a81a69b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion addOns/network/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

### Fixed
- Ensure the main proxy with custom port (`-port`) is stopped when initialising after installation in `cmd` and `daemon` modes.

## [0.11.1] - 2023-09-27
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion addOns/network/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=0.12.0
version=0.11.2
release=false
zap.maven.publish=true
zap.maven.pom.inceptionyear=2021
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@ private void startLocalServers(String overrideAddress, int overridePort, boolean

if (overrides) {
localServersOptions.setMainProxy(serverConfig);
stopLocalServer(mainProxyServer);
}

updateCoreProxy(serverConfig);
Expand Down

0 comments on commit a81a69b

Please sign in to comment.