litespeedtech / lsquic

LiteSpeed QUIC and HTTP/3 Library
MIT License
1.49k stars 324 forks source link

how to close http mode #500

Closed LinCan168 closed 3 months ago

LinCan168 commented 3 months ago

Hello! I want to pass the raw data between the two peer end. Now I only get the connection of the http3 mode.

LinCan168 commented 3 months ago

When I send the raw data, I got the error:"Attempt to write to stream before sending HTTP headers" My question is: How to close the http mode. I didn't find flags or some api to reach this goal. Thanks!

litespeedtech commented 3 months ago

just remove LSENG_HTTP flag.