nitroshare / qhttpengine

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

Fixes issue #12, closes socket when done #14

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.

nathan-osman commented 7 years ago

I sincerely apologize for taking so long to look at this. I had two family emergencies I had to deal with last week and that made it difficult to get any work done. I'll take a look at this in the next day or two.

impegoraro commented 7 years ago

No problem at all, I hope everythin is ok with your family :)