tus / tusd

Reference server implementation in Go of tus: the open protocol for resumable file uploads
https://tus.github.io/tusd
MIT License
3.09k stars 480 forks source link

Is PreFinishResponseCallback not called when loading in parallel? #1169

Closed webspec2012 closed 2 months ago

webspec2012 commented 3 months ago

Question

I use tusd through the Golang library. Faced with the fact that the PreFinishResponseCallback is not called after concatenate multiple uploads.

I need to check the merged file and give a response to the user. How can I do this?

Acconut commented 3 months ago

I only had a brief look at tusd's code, but it's likely that the PreFinishResponseCallback is not called when the concatenation extensions is used. That would be a bug that needs to be fixed in tusd.

Acconut commented 3 months ago

Brief update: It will take me two weeks until I can get to this.

Acconut commented 2 months ago

This should be fixed in the next release, which I plan on cutting today. Let me know if the issue continues to persist.

Acconut commented 2 months ago

Release is here: https://github.com/tus/tusd/releases/tag/v2.5.0