Simplify: Only one fcore reference in tus_request()
Keeping a local varaible and the struct response member with a pointer to the fcore was unnecessary complex and a possible cause for error. Now that holding a pointer is conceptually equal to holding a lock, we should really avoid the local variable. Also fixes an (unlikely) leaked lock for TUS_FINAL and method != POST
Showing
Please register or sign in to comment