Permalink
Browse files

fix typo for WWW-Authenticate error leading to infinite recursion

  • Loading branch information...
1 parent 563c7ef commit 369ce3306fad22ce29b759bf3d477a6269c40237 @nicad committed May 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/yaws.erl
View
@@ -1535,7 +1535,7 @@ accumulate_header({www_authenticate, What}) ->
put(outh, (get(outh))#outh{www_authenticate = ["WWW-Authenticate: ", What,
"\r\n"]});
accumulate_header({"WWW-Authenticate", What}) ->
- accumulate_header({"WWW-Authenticate", What});
+ accumulate_header({www_authenticate, What});
%% non-special headers (which may be special in a future Yaws version)
accumulate_header({Name, What}) when is_list(Name) ->

0 comments on commit 369ce33

Please sign in to comment.