[CDRIVER-484] Check for closed sockets before writing if too much time has passed Created: 15/Dec/14  Updated: 19/Oct/16  Resolved: 19/Dec/14

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1.0

Type: Bug Priority: Major - P3
Reporter: Mira Carey Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to PHPC-50 Implement checking socket state handler Closed

 Description   

Sockets can go stale server side, but remain open client side. It would be better if we checked if they were closed before writing (if we hadn't read from the socket within some duration). That should avoid reporting some transient network errors to the user.



 Comments   
Comment by Mira Carey [ 15/Dec/14 ]

Adding for code review: jesse acm samantha.ritter@10gen.com

Comment by Mira Carey [ 15/Dec/14 ]

https://github.com/mongodb/mongo-c-driver/pull/136

Generated at Wed Feb 07 21:09:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.