Built a demo https client
github.com·3d·
Discuss: r/rust
🪟Tauri
Preview
Report Post

ktls-uring-demo

A demo HTTPS client exploring the integration boundaries between io_uring-based networking (via tokio-uring) and userspace TLS (rustls) in rust

The project uses io_uring for asynchronous TCP connection setup and rustls for portable TLS encryption. HTTP methods supported include GET, POST, PUT, PATCH, and DELETE

Architecture Notes

  • TLS is handled in userspace thru rustls for portability
  • Because rustls operates on blocking Read/Write streams, encrypted I/O does not fully leverage io_uring
  • File descriptor duplication (via libc::dup()) bridges tokio-uring’s ownership model with rustls’s synchronous I/O requirement

Known Behaviors

The client gracefully handles servers that close connections without sending TLS close_notify alerts (commonly obse…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help