valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.91k stars 1.76k forks source link

Fix improper memory reuse in NewFastHTTPHandler #1860

Closed sigmundxia closed 2 months ago

sigmundxia commented 2 months ago

Hi Developers,

This pull request fixes the improper memory reuse in NewFastHTTPHandler reported in this issue.

If there are any further adjustments or improvements you'd like me to make, please don't hesitate to reach out :)

Best regards!

erikdubbelboer commented 2 months ago

Thanks!