[MDEV-24132] Default value for connect timeout is rejected by the kernel on OpenBSD Created: 2020-11-05 Updated: 2020-11-07 Resolved: 2020-11-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform OpenBSD |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Brad Smith | Assignee: | Daniel Black |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Description |
|
We have this patch currently in our tree. I am not sure about submitting it upstream as is but I thought I would file a bug report.
|
| Comments |
| Comment by Daniel Black [ 2020-11-05 ] | |||||||||||||||||||||||
|
Is the maximum value accepted by the kernel able to be probed? I traced it through and the collect timeout gets used as the argument in timeout to poll. The OpenBSD poll (https://man.openbsd.org/poll.2) seem to accept milliseconds the same as general POSIX. So I assume poll is just returning EINVAL without this patch? Its also used in the gnutls_handshake_set_timeout. | |||||||||||||||||||||||
| Comment by Brad Smith [ 2020-11-06 ] | |||||||||||||||||||||||
|
After asking around about the diff and to whom commited it; it turns out this was a workaround for an issue elsewhere which has had adjustment and the workaround has now been remove from our MariaDB port. | |||||||||||||||||||||||
| Comment by Daniel Black [ 2020-11-07 ] | |||||||||||||||||||||||
|
Ok, thanks for finding out. Eventually we will get to having OpenBSD as part of CI but in the mean time please continue to report incompatibilities and we'll see how we can resolve them. | |||||||||||||||||||||||
| Comment by Brad Smith [ 2020-11-07 ] | |||||||||||||||||||||||
|
This was the kernel fix..
|