Open theflyingape opened 1 year ago
FWIIW, I patched mg_web.c
to detect if it's missing "HTTP/" first to default send your DEFAULT response. If one is present, then process it normally finding the first empty line as the beginning of content.
if (strncmp(pweb->response_headers, "HTTP/", 5))
p = NULL;
else
p = (unsigned char *) strstr(pweb->response_headers, "\x0d\x0a\x0d\x0a");
This module compiles & runs well, except for when specific frames are rendered. This does not fail using Cache 2018.1 with Weblink.
Apache throws this in its error log, and the browser receives the canned 500 Internal Server error page:
... and with mgweb.conf
log_level
setup, an example from the mgweb.log trace information follows: