Skip to content
Permalink
Browse files

Clear response on each request (in case it was recycled)

  • Loading branch information
elpaso committed Jun 26, 2020
1 parent 4961ccc commit cd967e5405aa54754d4de1247d473b0a85a181d1
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/server/qgsserver.cpp
@@ -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 );

0 comments on commit cd967e5

Please sign in to comment.
You can’t perform that action at this time.