warp::filters::ws::Message::ping() not functioning

Created on 8 Jan 2020  路  1Comment  路  Source: seanmonstar/warp

I am attempting to use the code I previously contributed to send WebSocket ping messages, but it does not appear to function.

Specifically, constructing a ping message and then sending it through an existing WebSocket connection does not result in the client receiving that ping.

I am working around the issue by sending text messages as a less-elegant form of a keep-alive ping, but wanted to raise it here鈥攅specially given that I contributed the code that doesn't seem to work correctly.

bug

Most helpful comment

It might be that there is code that specifically ignores sending pings 馃槅

We should probably add a unit test to tests/ws.rs when fixing this.

>All comments

It might be that there is code that specifically ignores sending pings 馃槅

We should probably add a unit test to tests/ws.rs when fixing this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dpc picture dpc  路  7Comments

richardanaya picture richardanaya  路  6Comments

Kerollmops picture Kerollmops  路  7Comments

whitfin picture whitfin  路  3Comments

asaaki picture asaaki  路  7Comments