Skip to content

Conversation

@changsun20
Copy link

Description

This PR implements two additional options to the client: reset_after <BYTES> & reset_error_code <CODE>. It builds up the function to send an user-defined error code to the server after some given bytes received by the client.

Fix #463

Use cases

./tquic_client --reset-after 1024 https://example.com
./tquic_client --reset-after 512 --reset-error-code 0x123 https://example.com

Please note that this PR is still in draft phase and is not yet prepared for review and merge. Thanks for your patience.

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.

【腾讯犀牛鸟计划】TQUIC tools客户端模拟连接异常断开

1 participant