nitroshare / qhttpengine

HTTP server for Qt applications
MIT License
159 stars 76 forks source link

Fixes issue #12, closes socket when done #13

Closed impegoraro closed 7 years ago

impegoraro commented 7 years ago

Closing the socket after calling the invokeSlot and not in QHttpServer after process, because the invocation can be deferred if more data needs to be read from the socket, so closing the socket after calling invokeSlot guarantees that the socket is close when the slot finishes.

impegoraro commented 7 years ago

Not working properly, please don't merge this one