Skip to content
Snippets Groups Projects
Commit fc355a2c authored by Roman Khabibov's avatar Roman Khabibov Committed by Kirill Yukhin
Browse files

httpc: verify "headers" option stronger

Added the following checks:

* opts.headers is a table.
* opts.headers keys are strings.

Clarified an error message re Lua type of opts.headers values.

Found and fixed a memory leak that appears in http client when invalid
opts.headers is passed.

Closes #4281
parent 08db912e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment