internal calls to the update provider need (shorter) timeouts

Description

my local router just died and the build hung for ages because lucee was trying to connect to the update provider. Then I remembered when someone had Lucee hang for 15m when trying to install offline?

I think the maybe the timeouts aren't being set for any of these connections? i.e. setReadTimeout() and setConnectTimeout()

https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/osgi/OSGiUtil.java#L617

https://github.com/lucee/Lucee/blob/6.0/loader/src/main/java/lucee/loader/engine/CFMLEngineFactory.java#L704

https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/config/ConfigAdmin.java#L3496

set to a 10s connection timeout

Environment

None

Activity

Show:

Pothys - MitrahSoft 31 July 2023 at 13:21

I checked this issue with lucee fixed version 5.4.3.0-SNAPSHOT. The timeout for internal calls to the update provider has now been added successfully.

Zac Spitzer 28 July 2023 at 12:00

was already fixed in 6.0

Fixed

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Created 12 March 2021 at 20:51
Updated 31 July 2023 at 13:21
Resolved 10 February 2022 at 21:02

Flag notifications