Skip to content

Commit

Permalink
Fix : 500MiB (which is the effective default value) represents 524,28…
Browse files Browse the repository at this point in the history
…8,000 bytes

(and not 536,870,912bytes, which are 512 MiB)
  • Loading branch information
Samuel Bizien Filippi committed Oct 12, 2018
1 parent aaed954 commit a4c3238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/http_listener/http_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const sampleConfig = `
write_timeout = "10s"
## Maximum allowed http request body size in bytes.
## 0 means to use the default of 536,870,912 bytes (500 mebibytes)
## 0 means to use the default of 524,288,000 bytes (500 mebibytes)
max_body_size = "500MiB"
## Maximum line size allowed to be sent in bytes.
Expand Down

0 comments on commit a4c3238

Please sign in to comment.