feat(endpoint): complete review and mark all tasks as completed
- Fix formatting in endpoint.rs - Mark tests.md and review-endpoint.md as completed - All 9 endpoint tasks are now complete - Workspace: all tests pass, clippy clean, fmt clean
This commit is contained in:
1 parent
5467c30892
commit
ab56acae69
3 files changed
+10
-5
No files matched your search
@@ -134,7 +134,12 @@ impl AlknetEndpoint {
|
||||
}
|
||||
|
||||
#[cfg(feature = "tcp")]
|
||||
if let Some((listener, acceptor)) = self.tcp_tls.lock().unwrap_or_else(|e| e.into_inner()).take() {
|
||||
if let Some((listener, acceptor)) = self
|
||||
.tcp_tls
|
||||
.lock()
|
||||
.unwrap_or_else(|e| e.into_inner())
|
||||
.take()
|
||||
{
|
||||
let handlers = self.handlers.clone();
|
||||
let identity_provider = self.identity_provider.clone();
|
||||
let mut shutdown_rx = self.shutdown_rx.clone();
|
||||
@@ -183,10 +188,10 @@ mod tests {
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
|
||||
use alknet_core::auth::{AuthToken, Identity, IdentityProvider};
|
||||
use alknet_core::config::DynamicConfig;
|
||||
#[cfg(feature = "iroh")]
|
||||
use alknet_core::auth::AuthContext;
|
||||
use alknet_core::auth::{AuthToken, Identity, IdentityProvider};
|
||||
use alknet_core::config::DynamicConfig;
|
||||
#[cfg(feature = "iroh")]
|
||||
use alknet_core::types::{Connection, HandlerError};
|
||||
#[cfg(feature = "iroh")]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
id: endpoint/review-endpoint
|
||||
name: Review alknet-endpoint implementation for spec conformance, API shape, and test coverage
|
||||
status: pending
|
||||
status: completed
|
||||
depends_on: [endpoint/tests]
|
||||
scope: moderate
|
||||
risk: low
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
id: endpoint/tests
|
||||
name: Move and adapt endpoint tests from alknet-core/endpoint.rs into alknet-endpoint
|
||||
status: pending
|
||||
status: completed
|
||||
depends_on: [endpoint/accept-quinn, endpoint/accept-iroh, endpoint/accept-tcp-tls]
|
||||
scope: moderate
|
||||
risk: medium
|
||||
|
||||
Reference in new issue
Block a user