Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNmZmMjgwMTZjZmU5NDM4YTkwMzk2MzFiZGQ2NWE4MmMiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10547?atlOrigin=eyJpIjoiNmZmMjgwMTZjZmU5NDM4YTkwMzk2MzFiZGQ2NWE4MmMiLCJwIjoiaiJ9
 ) GEOS-10547 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10547?atlOrigin=eyJpIjoiNmZmMjgwMTZjZmU5NDM4YTkwMzk2MzFiZGQ2NWE4MmMiLCJwIjoiaiJ9
 ) Integrated WMS caching without the tiled parameter might result in deep 
recursion ( 
https://osgeo-org.atlassian.net/browse/GEOS-10547?atlOrigin=eyJpIjoiNmZmMjgwMTZjZmU5NDM4YTkwMzk2MzFiZGQ2NWE4MmMiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 ) Created: 16/Jun/22 6:26 PM Environment:

* 

Priority: Medium Reporter: Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 )

When the meta-tile request happens to create another valid tiled request, and 
the “tiled=true” parameter has been made non mandatory, then it’s possible to 
make GWC recurse over itself.

In order to reproduce:

* Configure GWC with WMS direct integration, and make the TILED parameter non 
required
* Set up a tile cache for topp:states, with meta-tiling factors 1 and 1 (the 
meta-tile is the tile)
* Make a WMS request matching a tile, e.g:

http://localhost:8080/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp%3Atileloop&bbox=-180,-90,0,90&width=256&height=256&srs=EPSG%3A4326&styles=&format=image/png

The tile will eventually be produced but:

* would take a few seconds (rather than a few tens of milliseconds)
* the logs report a long stack trace showing recursion (attached)

( 
https://osgeo-org.atlassian.net/browse/GEOS-10547#add-comment?atlOrigin=eyJpIjoiNmZmMjgwMTZjZmU5NDM4YTkwMzk2MzFiZGQ2NWE4MmMiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10547#add-comment?atlOrigin=eyJpIjoiNmZmMjgwMTZjZmU5NDM4YTkwMzk2MzFiZGQ2NWE4MmMiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100201- 
sha1:004587f )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to