@@ -80,22 +80,22 @@ init([ConfigFile, ConfigList, AcceptTimeout, Debug, Address, Port]) ->
8080 Profile = proplists :get_value (profile , ConfigList , ? DEFAULT_PROFILE ),
8181 Flags = {one_for_one , 0 , 1 },
8282 Children = [httpd_connection_sup_spec (Address , Port , Profile ),
83- httpd_acceptor_sup_spec (Address , Port , Profile , ConfigList , AcceptTimeout ,
84- undefined ),
8583 sup_spec (httpd_misc_sup , Address , Port , Profile ),
8684 worker_spec (httpd_manager , Address , Port , Profile ,
87- ConfigFile , ConfigList ,AcceptTimeout )],
85+ ConfigFile , ConfigList ,AcceptTimeout ),
86+ httpd_acceptor_sup_spec (Address , Port , Profile , ConfigList , AcceptTimeout ,
87+ undefined )],
8888 {ok , {Flags , Children }};
8989init ([ConfigFile , ConfigList , AcceptTimeout , Debug , Address , Port , ListenInfo ]) ->
9090 httpd_util :enable_debug (Debug ),
9191 Profile = proplists :get_value (profile , ConfigList , ? DEFAULT_PROFILE ),
9292 Flags = {one_for_one , 0 , 1 },
9393 Children = [httpd_connection_sup_spec (Address , Port , Profile ),
94- httpd_acceptor_sup_spec (Address , Port , Profile , ConfigList , AcceptTimeout ,
95- ListenInfo ),
9694 sup_spec (httpd_misc_sup , Address , Port , Profile ),
9795 worker_spec (httpd_manager , Address , Port , Profile , ListenInfo ,
98- ConfigFile , ConfigList , AcceptTimeout )],
96+ ConfigFile , ConfigList , AcceptTimeout ),
97+ httpd_acceptor_sup_spec (Address , Port , Profile , ConfigList , AcceptTimeout ,
98+ ListenInfo )],
9999 {ok , {Flags , Children }}.
100100
101101
0 commit comments