[CDRIVER-3173] possible be a bug for _mongoc_socket_wait(..., expire_at = -1) Created: 06/Jun/19 Updated: 28/Oct/23 Resolved: 21/Jun/19 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.15.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | zhihui fan | Assignee: | Haris Sheikh (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Per design, the -1 means block all the time. but during the implementation, it doesn't check it in MONGOC_ERROR_IS_AGAIN case, see https://github.com/mongodb/mongo-c-driver/blob/master/src/libmongoc/src/mongoc/mongoc-socket.c#L222. |
| Comments |
| Comment by Githook User [ 21/Jun/19 ] |
|
Author: {'name': 'Haris Sheikh', 'email': 'harissheikh@Hariss-MacBook-Pro.local'}Message: |
| Comment by Kevin Albertson [ 17/Jun/19 ] |
|
Thanks for the report zhihuifan! |