Skip to content

Commit df1bc33

Browse files
committed
v0.17.6
1 parent 4bf5e55 commit df1bc33

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.17.6 — 2026-04-10
4+
5+
### Fixed
6+
7+
- **Silence Async warning on handshake timeout.** `spawn_connection`
8+
now rescues `Async::TimeoutError` so a timed-out ZMTP handshake
9+
doesn't emit an "unhandled exception" warning from the Async task.
10+
311
## 0.17.5 — 2026-04-10
412

513
### Fixed

lib/omq/engine.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ def spawn_connection(io, as_server:, endpoint: nil)
479479
# socket barrier stopped — cascade teardown
480480
rescue Async::Queue::ClosedError
481481
# connection dropped during drain — message re-staged
482-
rescue Protocol::ZMTP::Error, *CONNECTION_LOST
483-
# handshake failed or connection lost — subtree cleaned up
482+
rescue Protocol::ZMTP::Error, *CONNECTION_LOST, Async::TimeoutError
483+
# handshake failed, connection lost, or handshake timed out
484484
ensure
485485
lifecycle&.close!
486486
end

lib/omq/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module OMQ
4-
VERSION = "0.17.5"
4+
VERSION = "0.17.6"
55
end

0 commit comments

Comments
 (0)