Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit d56ba01f authored by deuce's avatar deuce

Just because there is a Location: header does not mean we should not send

a body.  Broken by HSTS enhancement.

There's a (small) possibility that the HSTS enhancement is now broken.
parent 1aa6315e
......@@ -1293,8 +1293,6 @@ static BOOL send_headers(http_session_t *session, const char *status, int chunke
}
if (session->req.send_location) {
ret=-1;
session->req.send_content = FALSE;
send_entity = FALSE;
switch (session->req.send_location) {
case MOVED_PERM:
status_line=error_301;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment