修复log记录错误(第一个节点无法落盘),更新http解析为现成库实现,优化退出逻辑。

This commit is contained in:
2025-11-21 11:40:08 +08:00
parent 331c6b9f89
commit 26dac05e5b
11 changed files with 30579 additions and 115 deletions

View File

@ -211,9 +211,11 @@ int infifo(Ctl *self,const char *cmd)
//存储命令历史s
if(self->index<HISTORY_BUF){
self->index++;
return 0;
}
else{
self->index = 0;
return 0;
}
}