Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #74 from mesosphere/mv/do_not_send_server_header
Browse files Browse the repository at this point in the history
Do not send the Server header in any Http response.
  • Loading branch information
aquamatthias authored Apr 5, 2017
2 parents 1bd657e + 33a12be commit 23d03fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/mesosphere/chaos/http/HttpModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class HttpModule(conf: HttpConf) extends AbstractModule {
httpConfig.setSecureScheme("https")
httpConfig.setSecurePort(conf.httpsPort())
httpConfig.setOutputBufferSize(32768)
httpConfig.setSendServerVersion(false)

def addConnector(name: String)(connector: Option[Connector]): Unit = {
connector match {
Expand Down

0 comments on commit 23d03fc

Please sign in to comment.