Skip to content

Commit

Permalink
Merge remote-tracking branch 'capflam/infinite_keepalive_timeout'
Browse files Browse the repository at this point in the history
  • Loading branch information
Claes Wikstrom committed Jan 9, 2012
2 parents 9cde5d0 + 96da4a1 commit 9b220fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/yaws_config.erl
Expand Up @@ -733,6 +733,9 @@ fload(FD, globals, GC, C, Cs, Lno, Chars) ->
I when is_integer(I) ->
fload(FD, globals, GC#gconf{keepalive_timeout = I},
C, Cs, Lno+1, Next);
_ when Val == "infinity" ->
fload(FD, globals, GC#gconf{keepalive_timeout = infinity},
C, Cs, Lno+1, Next);
_ ->
{error, ?F("Expect integer at line ~w", [Lno])}
end;
Expand Down

0 comments on commit 9b220fe

Please sign in to comment.