Skip to content

WakerProxy may be unnecessary #163

@quininer

Description

@quininer

I found it from deno's discussion.

tokio-tungstenite uses the trick of WakerProxy to solve the wake-up problem of two-way IO. but this is not necessary in tokio, the related problem is reported as tokio-rs/tls#40 .

In short, the latest versions of tokio::net::TcpStream and tokio-rustls are not affected by this issue.

Given that this trick may cause lot spurious wakeups, we may be possible to provide an opt-out feature gate?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions