Forgot to handle lookup failure for GET

parent d76261ab
......@@ -369,6 +369,10 @@ tus_request(VRT_CTX, struct VPFX(tus_server) *tussrv,
}
if (m == GET) {
if (fcore == NULL) {
r->status = 404;
return (0);
}
AN(fdisk);
if (fdisk->location_length > 0) {
/* done file */
......
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