-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random headers lead to memory exaust. #140
Comments
As a workaround, to my knowledge the other library doesn't have this issue (dexador). |
A pull request that adds a variable controlling how the headers are parsed would be fine. Common headers should probably still remain as keywords. |
I believe the leak is plugged by edicl/chunga@c29d92e although this Issue could remain open to encourage a more sophisticated solution. |
Copying my comment from the similar issue edicl/hunchentoot#24:
I'm imagining a usage where apps that rely on custom headers populate the caches at startup, and they remain relatively unchanged while the application runs. Defining them as constants might hinder this, depending on how the compiler interprets the constant declaration on a hashtable. |
Hi,
I'm using a web API in which the developers decided to add one randomly named header to every response.
Since the headers are interned in the keyword package, after a few hundreds thousand of calls both SBCL and CCL run out of (immobile) space where the symbols are stored.
Would you be willing to change the code to support strings instead of, or in parallel with symbols as header keys implementation?
The text was updated successfully, but these errors were encountered: