dboyzhong commented on issue #1731:
URL: 
https://github.com/apache/incubator-brpc/issues/1731#issuecomment-1082759673


   > 问题
   
   好的,我正跟进wrong final block length 问题根因,这个问题还有一个逻辑上的问题请教:
   1. 
SSL_Read循环读没问题,当第1次读成功,比如读到100字节数据,而循环再读第二次时,SSL_Read返回-1,此时append_from_SSL_channel是应该返回100?还是
 -1?因为毕竟读出来了100字节数据,返回-1是不是不太合适?(如果对端发送完这100字节后,对端发送RST分节,本端socket会返回-1)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to