[Geoserver-devel] [JIRA] (GEOS-9555) WMS remote SLD fetching lacks a timeout, can block the GetMap request indefinitely

Andrea Aime created an issue

GeoServer / BugGEOS-9555

WMS remote SLD fetching lacks a timeout, can block the GetMap request indefinitely

Issue Type:

BugBug

Assignee:

Unassigned

Components:

WMS

Created:

30/Mar/20 9:47 AM

Priority:

MediumMedium

Reporter:

Andrea Aime

The default HTTPClient configuration has no timeout, if the remote SLD provider never responds, that will block the request thread indefinitely. A request timeout (eventually configurable) should be setup, maybe making it refer the max rendering time, or even having a dedicated setting.

See also:
https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/map/GetMapKvpRequestReader.java#L133

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100122-sha1:8399ad5)

Atlassian logo