Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set_request_compressed_response not supported on Linux #1464

Open
goodboyrobot opened this issue Jul 15, 2020 · 0 comments
Open

set_request_compressed_response not supported on Linux #1464

goodboyrobot opened this issue Jul 15, 2020 · 0 comments

Comments

@goodboyrobot
Copy link

@goodboyrobot goodboyrobot commented Jul 15, 2020

// <summary>
    /// Request that the server respond with a compressed body using Content-Encoding; to use Transfer-Encoding, do not
    /// set this, and specify a vector of <see cref="web::http::details::compression::decompress_factory" /> pointers
    /// to the set_decompress_factories method of the <see cref="web::http::http_request" /> object for the request.
    /// If true and the server does not support compression, this will have no effect.
    /// The response body is internally decompressed before the consumer receives the data.
    /// </summary>
    /// <param name="request_compressed">True to turn on content-encoded response body compression, false
    /// otherwise.</param> <remarks>Please note there is a performance cost due to copying the request data. Currently
    /// **only supported on Windows and OSX.**</remarks>
    void set_request_compressed_response(bool request_compressed) { m_request_compressed = request_compressed; }

We are being forced to roll our own compression instead of using the built in compression of cppresksdk due to this limitation. I would prefer to switch to using the built in content-encoding method, as soon as it is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.