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

grpc proxy support #410

Merged
merged 50 commits into from
Aug 21, 2019
Merged

grpc proxy support #410

merged 50 commits into from
Aug 21, 2019

Conversation

nic-chen
Copy link
Member

No description provided.

@membphis
Copy link
Member

nice feature

@membphis
Copy link
Member

here is the flame graph of current version: v001.svg.zip

lua/apisix.lua Outdated Show resolved Hide resolved
lua/apisix.lua Outdated Show resolved Hide resolved
t/debug-mode.t Show resolved Hide resolved
lua/apisix/plugins/grpc-proxy/util.lua Outdated Show resolved Hide resolved
lua/apisix/plugins/grpc-proxy/util.lua Outdated Show resolved Hide resolved
lua/apisix/plugins/grpc-proxy/util.lua Outdated Show resolved Hide resolved
lua/apisix/plugins/grpc-proxy/proto.lua Outdated Show resolved Hide resolved
lua/apisix/plugins/grpc-proxy/proto.lua Outdated Show resolved Hide resolved
@membphis
Copy link
Member

membphis commented Aug 20, 2019

have problem when running test case, there is a HTTP Trailer at the end. test::nginx not support this case now.

$ curl -i http://127.0.0.1:9080/grpctest --raw
HTTP/1.1 200 OK
Date: Wed, 21 Aug 2019 00:24:11 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Server: APISIX web server

14
{"message":"Hello "}
0
grpc-status: 0
grpc-message:

current response header maybe wrong: https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers/Trailer

t/plugin/grpc-proxy.t Outdated Show resolved Hide resolved
@membphis membphis merged commit e46e8f2 into apache:master Aug 21, 2019
@membphis membphis mentioned this pull request Aug 21, 2019
@membphis membphis deleted the feature/grpc-proxy branch August 21, 2019 15:15
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.

4 participants