tufao
tufao copied to clipboard
An asynchronous web framework for C++ built on top of Qt
A got a service listening for a while and today it stop to respond with this message: ```QIODevice::read (QTcpSocket): device not open``` I know this information may be not enough...
Add some [shields](http://shields.io/) to the README.md, such as Twitter link, AUR version, license etc.
A lot of libraries use a separate CHANGELOG.md file to list the changes over time, like [this one](https://github.com/xmartlabs/XLPagerTabStrip/blob/master/CHANGELOG.md). Maybe it can make your README.md less verbose.
I'm having trouble using HttpServerRequestRouter with the VS compiler. I can't compile the sessionusage example. It gives the unhelpful error 1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xrefwrap(283): error C2064: term does...
example sessionusage not work when run opening the url, the browser always be loading,but not show the index.html file. in 1.x release version and Qt5.3.1 can you have a try...
code below, MainHandler just copy from your other example. ``` TcpServer server; // MainHandler h; server.run(4, 8090, []() { QSharedPointer router; return [router](Tufao::HttpServerRequest &request, Tufao::HttpServerResponse &response) mutable { if (!router)...
Check and import this commit: https://github.com/vegansk/tufao/commit/4632bd0cc5b4c0263f4242f0fbba4a302bb42c67 Maybe it'll be a good idea to change others parts of the code too.
I am new to tufao. and have no idea about the thead use of tufao, So, the following code maybe stupid. 1. ``` HttpServer *server; WebThread webthread(server); # server->moveToThread(&webthread); webthread.start();...
When a new request is received I am doing something a long: ``` resp.writeHead(Tufao::HttpResponseStatus::OK); resp.flush(); ``` The application will process some data (when it arrives) and then issue the resp.write...