This commit is contained in:
Sosthène Guédon
2023-01-25 10:11:23 +01:00
parent e3cb8acfef
commit cf11d375b7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ where
}
pub fn did_start_processing(&mut self) -> Status {
if self.pipe.did_started_processing() {
if self.pipe.did_start_processing() {
// We should send a wait extension later
Status::ReceivedData(1_000.milliseconds())
} else {
+1 -1
View File
@@ -323,7 +323,7 @@ where
}
/// Turns false on read. Intended for checking to see if a wait extension request needs to be started.
pub fn did_started_processing(&mut self) -> bool {
pub fn did_start_processing(&mut self) -> bool {
if self.started_processing {
self.started_processing = false;
true