Browse Source

update to latest master

flashmob 6 years ago
parent
commit
5303075153
1 changed files with 12 additions and 9 deletions
  1. 12 9
      fuzz.go

+ 12 - 9
fuzz.go

@@ -30,17 +30,20 @@ func init() {
 
 
 func getFuzzServerConfig() *ServerConfig {
 func getFuzzServerConfig() *ServerConfig {
 	sc := &ServerConfig{
 	sc := &ServerConfig{
-		IsEnabled:       true, //
-		Hostname:        "fuzzme.test.com",
-		MaxSize:         1024, // smtp message max size
-		PrivateKeyFile:  "./tests/mail.guerrillamail.com.key.pem",
-		PublicKeyFile:   "./tests/mail.guerrillamail.com.cert.pem",
+		IsEnabled: true, //
+		Hostname:  "fuzzme.test.com",
+		MaxSize:   1024, // smtp message max size
+		TLS: ServerTLSConfig{
+			PrivateKeyFile: "./tests/mail.guerrillamail.com.key.pem",
+			PublicKeyFile:  "./tests/mail.guerrillamail.com.cert.pem",
+			StartTLSOn:     true,
+			AlwaysOn:       false,
+		},
 		Timeout:         5,
 		Timeout:         5,
 		ListenInterface: "127.0.0.1:2529",
 		ListenInterface: "127.0.0.1:2529",
-		StartTLSOn:      true,
-		TLSAlwaysOn:     false,
-		MaxClients:      3000,
-		LogFile:         "off",
+
+		MaxClients: 3000,
+		LogFile:    "off",
 	}
 	}
 	return sc
 	return sc
 }
 }