Project

General

Profile

Actions

bug #9424

open

CdmImageInfo connection timeout implemented

Added by Andreas Kohlbecker about 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Found in Version:

Description

the time out passed to the method .CdmImageInfo.readMetaData(Integer timeOut) is never being used.

the timeout param needs to be passed to UriUtils.getInputStream(imageUri);

see UriUtil.isServiceAvailable() for how to set the timeout:

          RequestConfig requestConfig = RequestConfig.custom()
                    .setSocketTimeout(timeout)
                    .setConnectTimeout(timeout)
                    .setConnectionRequestTimeout(timeout)
                    .build();
Actions #1

Updated by Andreas Kohlbecker about 3 years ago

  • Assignee changed from Andreas Müller to Andreas Kohlbecker
Actions #2

Updated by Andreas Kohlbecker about 3 years ago

the missing timeout currently causes problems that let the dataportal tests fail

Actions #3

Updated by Andreas Kohlbecker about 3 years ago

  • Target version changed from Release 5.19 to Release 5.21
Actions #4

Updated by Andreas Müller about 3 years ago

  • Target version changed from Release 5.21 to Release 5.22
Actions #5

Updated by Andreas Kohlbecker almost 3 years ago

  • Target version changed from Release 5.22 to Release 5.25
Actions #6

Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 5.25 to Release 5.45
Actions

Also available in: Atom PDF