Skip to content

Backport PR #14017 and #12706 into 1.8.x#14035

Merged
nicolasnoble merged 1 commit intogrpc:v1.8.xfrom
ZhouyihaiDing:v1.8.x
Jan 16, 2018
Merged

Backport PR #14017 and #12706 into 1.8.x#14035
nicolasnoble merged 1 commit intogrpc:v1.8.xfrom
ZhouyihaiDing:v1.8.x

Conversation

@ZhouyihaiDing
Copy link
Copy Markdown
Contributor

@ZhouyihaiDing ZhouyihaiDing commented Jan 16, 2018

When using php-fpm, channel is reused, but allocation for arguments and credentials are not freed, which will cause the memory leak. It combines 2 commits in #14017, #12706.

Can't test on Sierra 10.13.2 because it will report error:
src/core/ext/transport/chttp2/server/chttp2_server.cc:194:43: error: use of undeclared identifier 'GRPC_ARG_SERVER_HANDSHAKE_TIMEOUT_MS'

@mehrdada
Copy link
Copy Markdown
Contributor

@ZhouyihaiDing Please retitle as "Backport PR x and y into 1.8.x" and link to the PRs here so we know where the code comes from

@ZhouyihaiDing ZhouyihaiDing changed the title php: fix memory leak when reuse channel Backport PR #14017 and #12706 into 1.8.x Jan 16, 2018
@mehrdada
Copy link
Copy Markdown
Contributor

@nicolasnoble please merge this into 1.8.x

@nicolasnoble nicolasnoble merged commit 72da726 into grpc:v1.8.x Jan 16, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants