Wolf480pl on Nostr: PSA: when configuring the size of a ring buffer in haproxy... or any kind of size ...
PSA: when configuring the size of a ring buffer in haproxy...
or any kind of size tbh...
check in the source code if it uses `atol` to parse it.
If it does, you may end up using a k/M/G suffix without realizing it's being ignored by the config parser.
Published at
2024-08-13 13:54:49Event JSON
{
"id": "f888ec6e707f2d5f38843d4e75a3105777bbd4b16ea9ec44bc45464fa69c7f72",
"pubkey": "f3eaf89270fc0355ce2a91d69bca71c340a0a38b7c833b8ff837e8aaa0c98e82",
"created_at": 1723557289,
"kind": 1,
"tags": [
[
"proxy",
"https://mstdn.io/users/wolf480pl/statuses/112955050519217498",
"activitypub"
]
],
"content": "PSA: when configuring the size of a ring buffer in haproxy...\n\nor any kind of size tbh...\n\ncheck in the source code if it uses `atol` to parse it.\n\nIf it does, you may end up using a k/M/G suffix without realizing it's being ignored by the config parser.",
"sig": "22fdd153c5129e92ff7eb8667b02a672abe16c639d22c99afcf64cd60de45577c73b3042569a052f8baaae7c98cd81837e33ed42615225bba47e529a4d2b0803"
}