tokio-rs / tls

A collection of Tokio based TLS libraries.

Home Page:https://tokio.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

为什么 server 端的 impl<IO> AsyncWrite for TlsStream<IO> 不进行 `TlsState::WriteShutdown` 等状态的判断呢?

San-greal opened this issue · comments

image
而是这样直接进行 poll_write 操作?不是很明白,希望您能讲解一下

Google Translate:

Why doesn't impl<IO> AsyncWrite for TlsStream<IO> on the server side perform TlsState::WriteShutdown and other state judgments?

Is this related to #58?