mattsse / chromiumoxide

Chrome Devtools Protocol rust API
Apache License 2.0
712 stars 69 forks source link

fix: always try to flush after ready #179

Closed mattsse closed 9 months ago

mattsse commented 9 months ago

Closes #178

there were some changes in tungstenite regarding Sink flush related to this to this

https://github.com/snapview/tokio-tungstenite/pull/284 which surfaced a logic bug in the Connection implementation that would result in a stalled connection.

this fix ensures that after each poll_ready call we continue with a flush