Deal with huge files: how to destroy the stream when upload file size limit is reached? #28
Unanswered
AllanAndrade
asked this question in
Q&A
Replies: 1 comment
-
My only suggestion at this time would be to take the HTTP request and abort TCP connection right after |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When I upload a huge file, and the upload file size limit is reached, the stream continues until be finished, and it imposes makes unnecessary waiting to finish the entire stream.
I tried the below code, but the 'reject' does't destroy the stream:
Full code below:
How I can force imediate end of stream? There is any method to destroy the stream?
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions