refactor: remove unused binary plugin finalization logic
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
ff5d233509
commit
a46bf3364a
@@ -178,17 +178,6 @@ fn process_input_stream(
|
||||
for meta_plugin in meta_plugins.iter_mut() {
|
||||
meta_plugin.update(&buffer[..n], conn);
|
||||
}
|
||||
|
||||
// Check if we should finalize and save the binary plugin after 4KB
|
||||
if total_bytes >= 4096 {
|
||||
for meta_plugin in meta_plugins.iter_mut() {
|
||||
if meta_plugin.meta_name() == "binary" && !meta_plugin.is_internal() {
|
||||
// For internal plugins like BinaryMetaPlugin, we need to handle it differently
|
||||
// Since we can't easily check the type, we'll use a flag in the finalize method
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
debug!("MAIN: Ending IO loop after {:?} bytes", item.size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user