Socket timeouts over 1 second cause assertion failures
Bug #1021819 reported by
Alex Forrow
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
Fix Released
|
Medium
|
Brian Aker |
Bug Description
If you attempt to set a TCP timeout (SND_TIMEOUT for example) over 1 second you receive an assertion failure. Timeouts are measured in microseconds, and it appears that if seconds are required they need to be passed differently to setsockopt.
libmemcached/
errno is set to 33 - EDOM - Math argument out of domain of func
Code to reproduce: https:/
Changed in libmemcached: | |
assignee: | nobody → Brian Aker (brianaker) |
milestone: | none → 1.0.10 |
Changed in libmemcached: | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in libmemcached: | |
status: | In Progress → Fix Committed |
Changed in libmemcached: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.