Skip to content

Long download requests#95

Merged
tluthra merged 1 commit intobox:masterfrom
tluthra:download-disconnect
Mar 20, 2015
Merged

Long download requests#95
tluthra merged 1 commit intobox:masterfrom
tluthra:download-disconnect

Conversation

@tluthra
Copy link
Copy Markdown
Contributor

@tluthra tluthra commented Mar 20, 2015

If a download request gets terminated, or errors the request continues to listen to the input stream since the disconnect isn't called in the exception scenario. I moved the disconnect in a finally block to make sure that it will be called immediately and not leave the network up and running.

@boxcla
Copy link
Copy Markdown

boxcla commented Mar 20, 2015

Verified that @tluthra has signed the CLA. Thanks for the pull request!

@gcurtis
Copy link
Copy Markdown
Contributor

gcurtis commented Mar 20, 2015

Looks good to me! Just a minor detail - could you put your pull request description in the actual commit message? It does a good job of explaining what this change does and it'd be helpful to have it in the git log.

…s to listen to the input stream since the disconnect isn't called in the exception scenario. I moved the disconnect in a finally block to make sure that it will be called immediately and not leave the network up and running.
@tluthra tluthra force-pushed the download-disconnect branch from 2cf87f3 to 3ecffda Compare March 20, 2015 01:27
tluthra added a commit that referenced this pull request Mar 20, 2015
@tluthra tluthra merged commit 657f761 into box:master Mar 20, 2015
@tluthra tluthra deleted the download-disconnect branch March 20, 2015 01:56
@PJSimon PJSimon mentioned this pull request Jul 20, 2021
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants