Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to e_file::getRemoteFile() to prevent time out on larger files or slow connections. #5098

Closed
CaMer0n opened this issue Nov 6, 2023 · 0 comments
Labels
type: enhancement An improvement or new feature request
Milestone

Comments

@CaMer0n
Copy link
Member

CaMer0n commented Nov 6, 2023

Bug Description

e_file::getRemoteFile() could time out with larger files or slow connections.

Proposal

  • new $timeout parameter.
function getRemoteFile($remote_url, $local_file, $type = 'temp', $timeout = 40)
{

}
@CaMer0n CaMer0n added the type: bug A problem that should not be happening label Nov 6, 2023
@CaMer0n CaMer0n added this to the e107 2.3.3 milestone Nov 6, 2023
@CaMer0n CaMer0n closed this as completed in 9f67364 Nov 8, 2023
@CaMer0n CaMer0n added type: enhancement An improvement or new feature request and removed type: bug A problem that should not be happening labels Nov 20, 2023
@CaMer0n CaMer0n changed the title e_file::getRemoteFile() could time out with larger files or slow connections. Add option to e_file::getRemoteFile() to prevent time out on larger files or slow connections. Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement or new feature request
Projects
None yet
Development

No branches or pull requests

1 participant