suxunbin
suxunbin
      Part of ghttp.cpp
shared_ptr is Ok But shared_ptr is no use when I use pointer assignment

Yes,I want to store the Res object in order to use it after the handler. And I find maybe connection between server and client is not broken. But only *response...
This is the Response's define in server_http.hpp 
[server_http.txt](https://github.com/eidheim/Simple-Web-Server/files/1926884/server_http.txt)
This is the server_http.hpp that I used. *response will send the data to the client itself,will it?
Actually,I'm writing a threadpool.  pool.create() create a daemon thread to continuously get task from tasklines and run query_thread(). Where, tasklines is a global variable     However,...
When I am in query_handler() scope,obviously the response and request object are valid wherever they are referred(for example, Task , tasklines, the daemon thread). However, when I leave query_handler() scope,...
 Can I have a way that when I leave the scope,the response and request object are still alive? I hope that server.resource doesn't destroy the response and request object...