aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_sup.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-03-21 10:55:42 +0100
committerLoïc Hoguin <[email protected]>2014-03-21 10:56:34 +0100
commita1a254c4d001feb1b05c1f1620766de94c560823 (patch)
tree95427192a77433f7da3e7a208dffe8560080b7be /src/gun_sup.erl
parent0c63c747f06b730ec8b80f9cc16717f160adc6a2 (diff)
downloadgun-a1a254c4d001feb1b05c1f1620766de94c560823.tar.gz
gun-a1a254c4d001feb1b05c1f1620766de94c560823.tar.bz2
gun-a1a254c4d001feb1b05c1f1620766de94c560823.zip
Improve the HTTP/1.1 and HTTP/1.0 support
Diffstat (limited to 'src/gun_sup.erl')
-rw-r--r--src/gun_sup.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gun_sup.erl b/src/gun_sup.erl
index b7a9c82..b765dd9 100644
--- a/src/gun_sup.erl
+++ b/src/gun_sup.erl
@@ -33,7 +33,6 @@ start_link() ->
%% supervisor.
init([]) ->
- Procs = [
- {gun, {gun, start_link, []},
- transient, 5000, worker, [gun]}],
+ Procs = [{gun, {gun, start_link, []},
+ temporary, 5000, worker, [gun]}],
{ok, {{simple_one_for_one, 10, 10}, Procs}}.