public static void main(String[] args) throws Exception {
Locale.setDefault(Locale.ENGLISH);
TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
+ System.setProperty("jdk.tls.ephemeralDHKeySize", "4096");
+
GigiConfig conf = GigiConfig.parse(System.in);
ServerConstants.init(conf.getMainProps());
initEmails(conf);
if (doHttps) {
connector = new ServerConnector(s, createConnectionFactory(conf), new HttpConnectionFactory(httpConfig));
} else {
- connector = new ServerConnector(s);
+ connector = new ServerConnector(s, new HttpConnectionFactory(httpConfig));
}
connector.setHost(conf.getMainProps().getProperty("host"));
if (doHttps) {