1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

Basic configuration

This patch introduces a basic on disk configuration, comprised of a main
configuration file and per-domain directories.

It's still not complete, but will be extended in subsequent patches.
This commit is contained in:
Alberto Bertogli
2015-10-31 19:37:30 +00:00
parent f055a3460e
commit a809a3caa9
6 changed files with 303 additions and 21 deletions

View File

@@ -356,7 +356,9 @@ func realMain(m *testing.M) int {
return 1
}
s := NewServer("localhost")
s := NewServer()
s.Hostname = "localhost"
s.MaxDataSize = 50 * 1024 * 1025
s.AddCerts(tmpDir+"/cert.pem", tmpDir+"/key.pem")
s.AddAddr(srvAddr)
go s.ListenAndServe()