From 64333f69ea60241419da3979ba18067ba70e0231 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Wed, 19 Apr 2017 11:40:58 +0300 Subject: [PATCH] Don't try to load already loaded applications --- src/mod_http_upload.erl | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/mod_http_upload.erl b/src/mod_http_upload.erl index f66b434e4..49893f14a 100644 --- a/src/mod_http_upload.erl +++ b/src/mod_http_upload.erl @@ -261,18 +261,6 @@ init([ServerHost, Opts]) -> true), DocRoot1 = expand_home(str:strip(DocRoot, right, $/)), DocRoot2 = expand_host(DocRoot1, ServerHost), - case ServiceURL of - undefined -> - ok; - <<"http://", _/binary>> -> - application:start(inets); - <<"https://", _/binary>> -> - application:start(inets), - application:start(crypto), - application:start(asn1), - application:start(public_key), - application:start(ssl) - end, case DirMode of undefined -> ok;