Skip to content

Commit

Permalink
Fix TLS configuration (#3010)
Browse files Browse the repository at this point in the history
The Server struct was refactored in https://github.com/stellar/go/pull/2958/files so that the TLS configuration was stored in ServerConfig. However, the ServerConfig instance was never assigned in the NewServer() constructor.
  • Loading branch information
tamirms authored Sep 15, 2020
1 parent db9763c commit 2b2e015
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/horizon/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this
file. This project adheres to [Semantic Versioning](http://semver.org/).x

## v1.8.2

* Fixed a bug which prevented Horizon from accepting TLS connections.

## v1.8.1

* Fixed a bug in a code ingesting fee bump transactions.
Expand Down
1 change: 1 addition & 0 deletions services/horizon/internal/httpx/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func NewServer(serverConfig ServerConfig, routerConfig RouterConfig) (*Server, e
result := &Server{
Router: router,
Metrics: sm,
config: serverConfig,
server: &http.Server{
Addr: addr,
Handler: router,
Expand Down

0 comments on commit 2b2e015

Please sign in to comment.