Skip to content

Commit

Permalink
Disconnect on error from service readiness check
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Oct 15, 2024
1 parent 5a907c8 commit b5f7810
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ntex-io/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## [2.7.1] - 2024-10-15

* Disconnect on error from service readiness check

## [2.7.0] - 2024-10-10

* Do not check readiness for dispatcher call
Expand Down
2 changes: 1 addition & 1 deletion ntex-io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ntex-io"
version = "2.7.0"
version = "2.7.1"
authors = ["ntex contributors <team@ntex.rs>"]
description = "Utilities for encoding and decoding frames"
keywords = ["network", "framework", "async", "futures"]
Expand Down
2 changes: 1 addition & 1 deletion ntex-io/src/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ where
self.st = DispatcherState::Stop;
self.error = Some(err);
self.flags.insert(Flags::READY_ERR);
Poll::Ready(PollService::Continue)
Poll::Ready(PollService::Item(DispatchItem::Disconnect(None)))
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion ntex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ntex-util = "2"
ntex-bytes = "0.1.27"
ntex-server = "2.4"
ntex-h2 = "1.1"
ntex-rt = "0.4.18"
ntex-rt = "0.4.19"
ntex-io = "2.7"
ntex-net = "2.4"
ntex-tls = "2.1"
Expand Down

0 comments on commit b5f7810

Please sign in to comment.