typo in WWW-Authenticate handling leading to infinite recursion #107

Merged
merged 1 commit into from May 26, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
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) ->