Skip to content

tquic在回调函数外创建流的问题 #431

Discussion options

You must be logged in to vote

把创建的流id打印出来以后值非常大

检查下quic_stream_uni_new()返回值,是否返回了错误

我不可以在回调函数外使用quic_stream_uni_new吗

可以,但需要额外手工调用 quic_endpoint_process_connections()

简单的做法是仅在回调函数中执行这类函数

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LapseLove
Comment options

@iyangsj
Comment options

@LapseLove
Comment options

Answer selected by LapseLove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants