Hi,
I am using casablanca from NUGet (<package id="cpprestsdk" version="2.4.0.1" targetFramework="Native" />). VS2013. I have a cpu and memory leak on practical empty project (few hours testing) and one project only returning some demo JSON values (over weekend). Both test had get requests 10 times per second. Demo data was a list of 20 items with 3 strings. I tested it with perfmon so I do not have any leak report. Perfmon screenshot in attachment. Can anybody help? This is simplified version:
```
void request_handler(http_request req)
{
http_response response(web::http::status_codes::OK);
req.reply(response);
}
int main()
{
http_listener listener(U("http://localhost:9888/services/"));
listener.open().wait();
listener.support(&request_handler);
while (true) {
this_thread::sleep_for(chrono::milliseconds(2000));
}
...
}
```
I am using casablanca from NUGet (<package id="cpprestsdk" version="2.4.0.1" targetFramework="Native" />). VS2013. I have a cpu and memory leak on practical empty project (few hours testing) and one project only returning some demo JSON values (over weekend). Both test had get requests 10 times per second. Demo data was a list of 20 items with 3 strings. I tested it with perfmon so I do not have any leak report. Perfmon screenshot in attachment. Can anybody help? This is simplified version:
```
void request_handler(http_request req)
{
http_response response(web::http::status_codes::OK);
req.reply(response);
}
int main()
{
http_listener listener(U("http://localhost:9888/services/"));
listener.open().wait();
listener.support(&request_handler);
while (true) {
this_thread::sleep_for(chrono::milliseconds(2000));
}
...
}
```