lsquic icon indicating copy to clipboard operation
lsquic copied to clipboard

stream on_read should not be call when connection error be detected

Open wangfuyu opened this issue 3 years ago • 1 comments

https://github.com/litespeedtech/lsquic/blob/d9b2c378376468a2aa2a75b24b2c3b9a3f82dc48/src/liblsquic/lsquic_stream.c#L2163

  1. lsquic_stream_readable may detect connection error, like HEC_QPACK_DECOMPRESSION_FAILED.
  2. If connection error happen, I think stream on_read should not be call.

wangfuyu avatar Aug 02 '22 09:08 wangfuyu