-
Notifications
You must be signed in to change notification settings - Fork 202
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 shutdown hang when enable socket #835
Conversation
@mukundansundar please review, also it works when directly use native HTTP client. |
Codecov Report
@@ Coverage Diff @@
## master #835 +/- ##
==========================================
+ Coverage 21.82% 22.36% +0.54%
==========================================
Files 29 29
Lines 1535 1547 +12
==========================================
+ Hits 335 346 +11
- Misses 1159 1160 +1
Partials 41 41
Continue to review full report at Codecov.
|
6ae521f
to
9667ecf
Compare
Signed-off-by: Loong <loong.dai@intel.com>
@daixiang0 Please change this line to add back socket test cases Line 42 in standalone_test.go file. |
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.
Line 42 in standalone_test.go should now be:
var socketCases = []string{"", "/tmp"}
@mukundansundar @berndverst done. |
@dapr/maintainers-cli please review. |
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.
lgtm
* fix shutdown hang when enable socket Signed-off-by: Loong <loong.dai@intel.com> * feedback Signed-off-by: Loong <loong.dai@intel.com> Co-authored-by: Loong <loong.dai@intel.com> Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
* fix shutdown hang when enable socket Signed-off-by: Loong <loong.dai@intel.com> * feedback Signed-off-by: Loong <loong.dai@intel.com> Co-authored-by: Loong <loong.dai@intel.com> Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com> Co-authored-by: Long Dai <long.dai@intel.com> Co-authored-by: Loong <loong.dai@intel.com> Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
* fix shutdown hang when enable socket Signed-off-by: Loong <loong.dai@intel.com> * feedback Signed-off-by: Loong <loong.dai@intel.com> Co-authored-by: Loong <loong.dai@intel.com> Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com> Signed-off-by: Andy Le <anhldbk@gmail.com>
* fix shutdown hang when enable socket Signed-off-by: Loong <loong.dai@intel.com> * feedback Signed-off-by: Loong <loong.dai@intel.com> Co-authored-by: Loong <loong.dai@intel.com> Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com> Signed-off-by: Andy Le <anhldbk@gmail.com>
* fix shutdown hang when enable socket Signed-off-by: Loong <loong.dai@intel.com> * feedback Signed-off-by: Loong <loong.dai@intel.com> Co-authored-by: Loong <loong.dai@intel.com> Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com> Signed-off-by: Andy Le <anhldbk@gmail.com>
Signed-off-by: Loong loong.dai@intel.com
Description
Go-retryablehttp cannot close idle socket connections, need to call it by hand.
Fix dapr/dapr#3894
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: