qhttpengine icon indicating copy to clipboard operation
qhttpengine copied to clipboard

HTTP server for Qt applications

Results 19 qhttpengine issues
Sort by recently updated
recently updated
newest added

The code not compile on QT6 framework.

Could you please implement this? There are hardcoded html template in Socket

My client code calls QHttpEngine::QObjectHandler::registerMethod(...): Direct leak of 24 byte(s) in 1 object(s) allocated from: #0 0x7f184c417ca1 in operator new(unsigned long) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:99 #1 0x55a2db94726b in registerMethod_functor /src/include/qhttpengine/qobjecthandler.h:184 #2 0x55a2db94726b in...

How can these be added to the git version ? Does this git still contain the correct sources ?

I had a project that mandated the use of -Wall -Wextra -Werror This resulted in a few build errors, such as incorrect member initializer order, unused parameter, missing default in...

The design of the Server and the Handler is such that this depends on Qt signals. The direct effect of that is that all calls will always be handled by...

I'm having an issue when compiling a program that uses qhttpengine on Windows. The use of `DELETE` at https://github.com/nitroshare/qhttpengine/blob/43f55df51623621ed3efb4e42c7894586d988667/src/include/qhttpengine/socket.h#L134 is resolving the `DELETE` macro that in defined in `winnt.h`. This...

When using the FilesystemHandler, I get directory listings even when a directory contains an index.html. So I patched filesystemhandler.cpp like this: ``` void FilesystemHandlerPrivate::processDirectory(Socket *socket, const QString &path, const QString...

void Socket::writeJson(const QJsonDocument &document, int statusCode) { QByteArray data = document.toJson(); setStatusCode(statusCode); setHeader("Content-Length", QByteArray::number(data.length())); setHeader("Content-Type", "application/json"); **_writeHeaders();_** write(data); close(); }

When running this example https://raw.githubusercontent.com/nitroshare/qhttpengine/master/examples/fileserver/main.cpp on `Windows 7 (32-bit) with Qt 5.9.6` and `Windows 10 (64-bit) with Qt 5.9.6`, I got the following error: ``` QObject: Cannot create children for...