Skip to content

Commit

Permalink
config/tls: Disable TLS session tickets
Browse files Browse the repository at this point in the history
Workaround for Outlook delivery issues.
See #730
  • Loading branch information
foxcpp committed Nov 24, 2024
1 parent cbeadf1 commit fc179fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion framework/config/tls/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ func TLSDirective(m *config.Map, node config.Node) (interface{}, error) {
}

func readTLSBlock(globals map[string]interface{}, blockNode config.Node) (*TLSConfig, error) {
baseCfg := tls.Config{}
baseCfg := tls.Config{
// Workaround for issue https://github.com/foxcpp/maddy/issues/730
SessionTicketsDisabled: true,
}

var loader module.TLSLoader
if len(blockNode.Args) > 0 {
Expand Down

0 comments on commit fc179fc

Please sign in to comment.