• Nils Goroll's avatar
    Simplify: Only one fcore reference in tus_request() · 345a6d35
    Nils Goroll authored
    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
    345a6d35
tus_request.c 12.3 KB