Slight tweak to previous commit: don't forget to call _http_seterr() if
we get a genuine 416 reply.
This commit is contained in:
parent
b5e1214546
commit
4d3d90ad0a
@ -1038,6 +1038,7 @@ _http_request(struct url *URL, const char *op, struct url_stat *us,
|
||||
conn->err = HTTP_OK;
|
||||
break;
|
||||
} else {
|
||||
_http_seterr(conn->err);
|
||||
goto ouch;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user