[Tarantool-patches] [PATCH v3 0/4] http: add CURLOPT_ACCEPT_ENCODING option
Ilya Kosarev
i.kosarev at tarantool.org
Mon Oct 28 18:51:45 MSK 2019
This patchset introduces CURLOPT_ACCEPT_ENCODING option. It brought up
fix for CURLE_WRITE_ERROR processing and addition of
CURLE_BAD_CONTENT_ENCODING in curl request code processing, as well as
enhancement of provided error info for curl request.
Changes in v2:
- added docbot request
- fixed comments
- enhanced httpc_set_accept_encoding description
- fixed error handling for unsupported encodings
Changes in v3:
- moved error handling for unsupported encodings fix to separate commit
- added error message obtained using CURLOPT_ERRORBUFFER option
- added CURLE_BAD_CONTENT_ENCODING for curl request code processing
Branch: https://github.com/tarantool/tarantool/tree/i.kosarev/gh-4232-curlopt-accept-encoding
Issues: https://github.com/tarantool/tarantool/issues/4232
https://github.com/tarantool/tarantool/issues/4578
https://github.com/tarantool/tarantool/issues/4579
Ilya Kosarev (4):
http: add CURLOPT_ACCEPT_ENCODING option
http: remove redundant & incorrect case for curl_request code
http: enrich httpc_request with curl error message buffer
http: add CURLE_BAD_CONTENT_ENCODING case for curl_request code
src/httpc.c | 24 +++++++++++++++++++-----
src/httpc.h | 29 +++++++++++++++++++++++++++++
src/lua/httpc.c | 9 +++++++++
src/lua/httpc.lua | 2 ++
4 files changed, 59 insertions(+), 5 deletions(-)
--
2.17.1
More information about the Tarantool-patches
mailing list