vrk-kpa / xroad-joint-development

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development
19 stars 8 forks source link

BUG: Unclosed connections cause random failures. #142

Closed VitaliStupin closed 7 years ago

VitaliStupin commented 7 years ago

Affected components: Client-proxy Affected documentation: - Estimated delivery: - External reference: https://jira.ria.ee/browse/XTE-341

Problem Random failures with proxy tests (runProxyTest) occur due to pool-validate-connections-after-inactivity-of-millis=-1 system parameter. The default value in PoolingHttpClientConnectionManager is 2000 ms. And pool-validate-connections-after-inactivity-of-millis should be updated to that value.

Additionally client-use-idle-connection-monitor=true should be put to the proxy.ini.

Also client-idle-connection-monitor-interval and client-idle-connection-monitor-timeout parameter could be initialized in proxy.ini.

Acceptance criteria

VitaliStupin commented 7 years ago

Fixed in 6.14.0