|
@@ -75,7 +75,7 @@ info(_StreamID, {'EXIT', Pid, {_Reason, [_, {cow_http_hd, _, _, _}|_]}}, State=#
|
|
|
%% @todo Have an option to enable/disable this specific crash report?
|
|
|
%%report_crash(Ref, StreamID, Pid, Reason, Stacktrace),
|
|
|
%% @todo Headers? Details in body? More stuff in debug only?
|
|
|
- {[{error_response, 400, #{}, <<>>}, stop], State};
|
|
|
+ {[{error_response, 400, #{<<"content-length">> => <<"0">>}, <<>>}, stop], State};
|
|
|
info(StreamID, Exit = {'EXIT', Pid, {Reason, Stacktrace}}, State=#state{ref=Ref, pid=Pid}) ->
|
|
|
report_crash(Ref, StreamID, Pid, Reason, Stacktrace),
|
|
|
{[
|