lua-resty-http
lua-resty-http copied to clipboard
Drain trailer when setting keepalive to avoid "unread data in buffer" error
When using request_uri with the response contains trailer, we always find "unread data in buffer" error because trailers are not read before set_keepalive.
Signed-off-by: spacewander [email protected]
Thanks! Looks good - I will review properly as soon as I have a bit of time.