Split QHttpServerRequestPrivate into itself and QHttpServerParser 4/4
Make QHttpServerRequest copyable and update the traits templates to
handle this. Make QHttpServer::sendResponse() for futures copy the
QHtppServerRequest instead of passing it by reference and update
test that was expected to fail. Add QHttpServerRequest::create()
to create QHttpServerRequest from QHttpServerParser.
[ChangeLog][QtHttpServerRequest] Made QHttpServerRequest copyable
Task-number: QTBUG-133519
Change-Id: I3af08b4e2a579691fbf3b3150fcf553a5615ac62
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
| commit | fdc52d19a87c440fc2a3d886dd59ae7876851e78 |
| parent | f242e8b11894b249698a57294d3efaa50fb2729e |
| author | Øystein Heskestad <oystein.heskestad@qt.io> |
| committer | Øystein Heskestad <oystein.heskestad@qt.io> |
| commit time | Thu, 3 Apr 2025 17:53:37 +0200 |
- M src/httpserver/qhttpserver.cpp
- M src/httpserver/qhttpserverhttp1protocolhandler.cpp
- M src/httpserver/qhttpserverhttp1protocolhandler_p.h
- M src/httpserver/qhttpserverhttp2protocolhandler.cpp
- M src/httpserver/qhttpserverhttp2protocolhandler_p.h
- M src/httpserver/qhttpserverparser.cpp
- M src/httpserver/qhttpserverparser_p.h
- M src/httpserver/qhttpserverrequest.cpp
- M src/httpserver/qhttpserverrequest.h
- M src/httpserver/qhttpserverrequest_p.h
- M src/httpserver/qhttpserverrouterviewtraits.h
- M src/httpserver/qhttpserverstream.cpp
- M src/httpserver/qhttpserverstream_p.h
- M tests/auto/qhttpserver/tst_qhttpserver.cpp