Update QtWebapp to 1.7.11

This commit is contained in:
Felix Kauselmann
2020-07-30 12:28:05 +02:00
parent 3de099491f
commit b9c48cc4b6
31 changed files with 796 additions and 307 deletions

View File

@ -8,6 +8,8 @@
#include "httpglobal.h"
#include "httpconnectionhandler.h"
namespace stefanfrings {
/**
Pool of http connection handlers. The size of the pool grows and
shrinks on demand.
@ -54,7 +56,7 @@ public:
@param requestHandler The handler that will process each received HTTP request.
@warning The requestMapper gets deleted by the destructor of this pool
*/
HttpConnectionHandlerPool(QSettings* settings, HttpRequestHandler* requestHandler);
HttpConnectionHandlerPool(const QSettings* settings, HttpRequestHandler *requestHandler);
/** Destructor */
virtual ~HttpConnectionHandlerPool();
@ -65,7 +67,7 @@ public:
private:
/** Settings for this pool */
QSettings* settings;
const QSettings* settings;
/** Will be assigned to each Connectionhandler during their creation */
HttpRequestHandler* requestHandler;
@ -92,4 +94,6 @@ private slots:
};
} // end of namespace
#endif // HTTPCONNECTIONHANDLERPOOL_H