Skip to content

Conversation

tanmaykm
Copy link
Member

@tanmaykm tanmaykm commented Aug 9, 2024

Adding checks to handle exception thrown while constructing FDWatcher if the socket handle is closed. Also checking the curl return code while adding handle to multi, and not proceeding if that failed.

Should fix #253

@aviks aviks requested a review from KristofferC August 22, 2024 16:18
@aviks
Copy link
Member

aviks commented Sep 17, 2024

@StefanKarpinski or @KristofferC eyes on this would be much appreciated.

@KristofferC
Copy link
Member

I don't really know anything about this code. But it has a merge conflict that needs to be fixed so CI can run.

Adding checks to handle exception thrown while constructing FDWatcher if the socket handle is closed.
Also checking the curl return code while adding handle to multi, and not proceeding if that failed.

Should fix JuliaLang#253
@tanmaykm tanmaykm force-pushed the tan/fix_socket_callback branch from 5643a85 to 2115a86 Compare September 18, 2024 03:28
Copy link

codecov bot commented Sep 18, 2024

Codecov Report

❌ Patch coverage is 45.00000% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.36%. Comparing base (05f9ec2) to head (133b285).
⚠️ Report is 18 commits behind head on master.

Files with missing lines Patch % Lines
src/Curl/Multi.jl 53.84% 6 Missing ⚠️
src/Downloads.jl 28.57% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #254      +/-   ##
==========================================
- Coverage   89.70%   89.36%   -0.35%     
==========================================
  Files           5        5              
  Lines         583      630      +47     
==========================================
+ Hits          523      563      +40     
- Misses         60       67       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tanmaykm
Copy link
Member Author

I have updated the branch now.

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.

hung state due to race in socket_callback if socket closes just before watch
3 participants