-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: httpc connection close #11450
base: master
Are you sure you want to change the base?
fix: httpc connection close #11450
Conversation
great catch 🙏🏼 , could you please check if this bug exists in other plugins/places too? |
c331336
to
72ca229
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apisix/plugins/authz-casdoor.lua
Outdated
@@ -60,7 +61,7 @@ local function fetch_access_token(code, conf) | |||
["Content-Type"] = "application/x-www-form-urlencoded" | |||
} | |||
}) | |||
|
|||
connection_util.close_http_connection(client) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 will remove it.
@madhawa-gunasekara, please avoid force pushing 🙂 I have told this before. |
Ping @madhawa-gunasekara :D |
Ping @madhawa-gunasekara :D |
Hi @zhoujiexiong, I was traveling, I will push the changes. :) |
72ca229
to
9b0e489
Compare
@zhoujiexiong I did the changes.. please review |
97c45c1
to
dbf770c
Compare
@zhoujiexiong Ping, any chance to look into this |
Description
This will close httpc connection. We observed too many connections in activemq.
Fixes #11449
Checklist