Audit changes
This commit is contained in:
1 parent
52ea1a8d42
commit
fa182eca76
13 files changed
+29
-15
No files matched your search
+1
-1
@@ -89,7 +89,7 @@ func (hp *HubPoller) poll() {
|
||||
return
|
||||
}
|
||||
|
||||
body, err := io.ReadAll(resp.Body)
|
||||
body, err := io.ReadAll(io.LimitReader(resp.Body, 128*1024))
|
||||
if err != nil {
|
||||
log.Printf("[HubPoller] read body: %v", err)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user