mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Clear response on each request (in case it was recycled)
This commit is contained in:
parent
4961ccc5d3
commit
cd967e5405
@ -306,6 +306,8 @@ void QgsServer::handleRequest( QgsServerRequest &request, QgsServerResponse &res
|
||||
time.start();
|
||||
}
|
||||
|
||||
response.clear();
|
||||
|
||||
// Pass the filters to the requestHandler, this is needed for the following reasons:
|
||||
// Allow server request to call sendResponse plugin hook if enabled
|
||||
QgsFilterResponseDecorator responseDecorator( sServerInterface->filters(), response );
|
||||
|
Loading…
x
Reference in New Issue
Block a user