Yaws process dies on every other static file response #138

Closed
skarrmann opened this Issue Jan 21, 2013 · 1 comment

Comments

Projects
None yet
1 participant

Using the latest commit (c341c31), requesting a static file causes the yaws process to die upon every other response. Here is the error report message:

=ERROR REPORT==== 21-Jan-2013::02:00:55 ===
Yaws process died: {{badmatch,[]},
[{yaws,make_expires_header,2},
{yaws,outh_serialize,0},
{yaws_server,deliver_accumulated,4},
{yaws_server,handle_ut,4},
{yaws_server,aloop,4},
{yaws_server,acceptor0,2},
{proc_lib,init_p_do_apply,3}]}

yaws:make_expires_header/2 seems to cause this error when MimeType0 is undefined (pattern match failure on Ln#1460).

skarrmann closed this Apr 15, 2013

Issue #139 is a more general report of this issue, and provides a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment