Let's say I am calling an api "getObject", and after making the request, I press ctrl + c or cancel the request. The code should not execute as the context is canceled.
Expected Behavior
After pressing ctrl + c after api call, code execution should stop immediately.
Current Behavior
Code execution doesn't stop. For some upload requests, it runs for 10 mins.
Possible Solution
Fair use of Golang context should solve this problem
Steps to Reproduce (for bugs)
Context
Regression
Your Environment
- Version used (
minio --version):
- Server setup and configuration:
- Operating System and version (
uname -a):
Let's say I am calling an api "getObject", and after making the request, I press ctrl + c or cancel the request. The code should not execute as the context is canceled.
Expected Behavior
After pressing ctrl + c after api call, code execution should stop immediately.
Current Behavior
Code execution doesn't stop. For some upload requests, it runs for 10 mins.
Possible Solution
Fair use of Golang context should solve this problem
Steps to Reproduce (for bugs)
Context
Regression
Your Environment
minio --version):uname -a):