Audit changes
This commit is contained in:
@@ -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