caddy/modules
Harish Shan c8559c4485
caddyhttp: Use sync.Pool to reduce lengthReader allocations (#5848)
* Use sync.Pool to reduce lengthReader allocations

Signed-off-by: Harish Shan <140232061+perhapsmaple@users.noreply.github.com>

* Add defer putLengthReader to prevent leak

Signed-off-by: Harish Shan <140232061+perhapsmaple@users.noreply.github.com>

* Cleanup in putLengthReader

Co-authored-by: Francis Lavoie <lavofr@gmail.com>

---------

Signed-off-by: Harish Shan <140232061+perhapsmaple@users.noreply.github.com>
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
2023-10-16 14:42:01 -06:00
..
caddyevents ci: use gci linter (#5708) 2023-08-14 09:41:15 -06:00
caddyhttp caddyhttp: Use sync.Pool to reduce lengthReader allocations (#5848) 2023-10-16 14:42:01 -06:00
caddypki ci: use gci linter (#5708) 2023-08-14 09:41:15 -06:00
caddytls tls: Add X25519Kyber768Draft00 PQ "curve" behind build tag (#5852) 2023-10-11 13:45:37 -06:00
filestorage ci: use gci linter (#5708) 2023-08-14 09:41:15 -06:00
logging logging: query filter for array of strings (#5779) 2023-08-29 22:59:43 +00:00
metrics ci: use gci linter (#5708) 2023-08-14 09:41:15 -06:00
standard events: Implement event system (#4912) 2022-08-31 15:01:30 -06:00