whisperfish / libsignal-service-rs

A Rust version of the libsignal-service-java library for communicating with Signal servers.
https://whisperfish.github.io/libsignal-service-rs/libsignal_service
GNU Affero General Public License v3.0
68 stars 31 forks source link

Expose SignalWebSocket::is_used #274

Closed Schmiddiii closed 10 months ago

Schmiddiii commented 10 months ago

This is required to fix a panic web socket request handler not in use due to reuse of the same websocket between different receive_messages calls.

Downstream PR: https://github.com/whisperfish/presage/pull/226

codecov[bot] commented 10 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (9af1f42) 3.62% compared to head (1561b75) 3.61%. Report is 2 commits behind head on main.

Files Patch % Lines
libsignal-service/src/websocket.rs 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #274 +/- ## ======================================== - Coverage 3.62% 3.61% -0.02% ======================================== Files 37 37 Lines 2841 2849 +8 ======================================== Hits 103 103 - Misses 2738 2746 +8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.