| Ticket UUID: | d22dc7e9ca3577d84c76cf0091d9db9eb9245da2 | ||
| Title: | socket -async leaves the socket non-blocking when the connect succeeds at once | ||
| Type: | Bug | Created on: | 2026-10-12 08:41:35 |
| Submitter: | serhiy.storchaka | Assigned to: | jan.nijtmans |
| Subsystem: | 27. Channel Types | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2026-10-13 12:23:54 |
| Status: | Closed | Closed by: | jan.nijtmans |
| Resolution: | Fixed | Closed on: | 2026-10-13 12:23:54 |
| Version: | 8.6.18, 9.0.5, 9.1.0 | ||
| Description: | ||||
|
On illumos (OpenIndiana), a non-blocking This is a regression of [219061] (HP-UX, fixed in 8.3.1 by resetting the socket to blocking mode when the connect succeeds at once). Since the 2011 rework the blocking mode, cached since [3401422], is restored only after a connect finishing in the background; [3428753] fixed only the flag for connections completing at once. Proposed fix in branch unix-async-connect-immediate-success. | ||||
| User Comments: | ||||
jan.nijtmans added on 2026-10-13 12:23:54:
Fixed in [6d02d5f8a6|trunk], core-9-0-branch and core-8-6-branch | ||||
