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

Support CURLOPT_ERRORBUFFER #146

Open
moteus opened this issue Apr 8, 2019 · 0 comments
Open

Support CURLOPT_ERRORBUFFER #146

moteus opened this issue Apr 8, 2019 · 0 comments

Comments

@moteus
Copy link
Member

moteus commented Apr 8, 2019

Problems to solve

  1. Where and when allocate error buffer.
    Options
  • part of lcurl_easy_t structure
  • full userdata and store ref/ptr to it internally
  • new separate object lcurl_error_buffer_t and provide Lua API for it.
  1. How to assign this option from Lua code (set to 0/1/true/false/nil/null)
  2. Does it make sence allows to increase buffer size over than CURL_ERROR_SIZE? From the doc The buffer must be at least CURL_ERROR_SIZE bytes big.
  3. Provide API for error object to access to information from associated buffer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant