Commit 0e009133c79d288be5633c9f3340478d2d5afc58
1 parent
ca6f5ada
Exists in
ver2.3.0
提交
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/logic.go
@@ -527,6 +527,8 @@ func HandlerReadNumUpload(w http.ResponseWriter, data string) { | @@ -527,6 +527,8 @@ func HandlerReadNumUpload(w http.ResponseWriter, data string) { | ||
527 | 527 | ||
528 | func HandlerFetchredbag(w http.ResponseWriter, data string, uuid int) { | 528 | func HandlerFetchredbag(w http.ResponseWriter, data string, uuid int) { |
529 | SetHeader(w) | 529 | SetHeader(w) |
530 | + llock.Lock() | ||
531 | + defer llock.Unlock() | ||
530 | var resp FetchredbagResp | 532 | var resp FetchredbagResp |
531 | resp.Code = 0 | 533 | resp.Code = 0 |
532 | var rdata FetchredbagReq | 534 | var rdata FetchredbagReq |