Skip to content

xftp: close connection after failed handshake - #1974

Merged
epoberezkin merged 5 commits into
simplex-chat:masterfrom
evgeny-simplex:ep/xftp-handshake-close
Oct 25, 2026
Merged

epoberezkin merged 5 commits into
simplex-chat:masterfrom
evgeny-simplex:ep/xftp-handshake-close

Conversation

@evgeny-simplex

Copy link
Copy Markdown
Contributor
  • XFTP client (getXFTPClient): the HTTP/2 connection is closed when the XFTP handshake returns an error or is interrupted by an exception; the errors returned to callers are unchanged.
  • Tests: an XFTP listener that completes TLS and HTTP/2 and answers no request; tests for a handshake timeout and for a handshake cancelled while the hello response is awaited.
  • Wire protocol, configuration and API are unchanged.

@epoberezkin
epoberezkin merged commit 3818284 into simplex-chat:master Oct 25, 2026
7 checks passed
@epoberezkin
epoberezkin deleted the ep/xftp-handshake-close branch October 25, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants