Skip to content

lua: Make httpCall to return raw data#13199

Merged
dio merged 4 commits intoenvoyproxy:masterfrom
dio:lua-httpcall-response
Sep 22, 2020
Merged

lua: Make httpCall to return raw data#13199
dio merged 4 commits intoenvoyproxy:masterfrom
dio:lua-httpcall-response

Conversation

@dio
Copy link
Member

@dio dio commented Sep 21, 2020

Commit Message: This patch lets httpCall to return raw data, hence a full response body can be accessed from Lua script.

Risk Level: Low
Testing: Modify unit test
Docs Changes: N/A
Release Notes: N/A
Fixes #10048

Signed-off-by: Dhi Aurrahman dio@tetrate.io

This patch lets httpCall to return raw data, hence full response body
can be accessed from Lua script.

Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
@dio dio marked this pull request as ready for review September 21, 2020 13:04
@lizan lizan requested a review from mattklein123 September 21, 2020 15:43
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks LGTM. I think this should at least have a release note? This seems like a bug fix but it is technically a behavior change.

/wait

Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dio dio merged commit ee8c730 into envoyproxy:master Sep 22, 2020
@dio dio deleted the lua-httpcall-response branch September 22, 2020 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lua receives empty body on httpCall to GRPC

2 participants