xquic icon indicating copy to clipboard operation
xquic copied to clipboard

使用h2load测试xquic server失败,报错hostname is NULL

Open foxriver1025 opened this issue 1 year ago • 0 comments

https://github.com/alibaba/xquic/blob/f3cab8816d4a68227df298df0cf9da90b18aae52/src/tls/xqc_tls.c#L1066 从抓取的报文来看,h2load没有填写SNI字段,导致server端进入xqc_ssl_cert_cb处理时报hostname为空的错误,此处server端是否应该做正确处理,比如允许没有SNI字段呢

foxriver1025 avatar Jan 26 '24 02:01 foxriver1025