Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Support for casablanca (cpp rest sdk) version 2.8 #22

Open
anton-kvant opened this issue Oct 20, 2016 · 0 comments
Open

Support for casablanca (cpp rest sdk) version 2.8 #22

anton-kvant opened this issue Oct 20, 2016 · 0 comments

Comments

@anton-kvant
Copy link

anton-kvant commented Oct 20, 2016

Hello.
Why does odatacpp-server is compatible only with Casabanca version 2.1. Casablanca version 2.8 is already available and it has good features: HTTPS, Oauth support.

After updating libcpprest from v2.1.0 to v2.8.0 I've noticed ~ 40 ms delay in Casablanca's PPLX tasks.

 void handlePost(web::http::http_request request) {
      // delay in next line
      std::string body = request.extract_string().get();
      web::http::http_response response(web::http::status_codes::OK);
      response.set_body(body);

      request.reply(response)
          .then(std::bind(&TestServer::handleError, std::placeholders::_1));
      return;
   }

When there is no OData in my code, the same code executed fast (delay about 0.05 ms)

@anton-kvant anton-kvant changed the title Casablanca (libcpprest) library version Support for casablanca (cpp rest sdk) version 2.8 Oct 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant