Add :max-threads option to the Jetty adapter
In some cloud environments, such as Heroku, the number of threads available to a process is limited. The Jetty adapter should therefore support a :max-threads option for limiting the number of threads ...
Add a few type hints to avoid reflection
I have added a couple of type hints to ring.servlet & ring.core to fix reflection warnings. All tests pass.
"Anything" -> "Any" Thanks for Ring! I'm new to Clojure and web development with Ring, Compojure, and Enlive has been awesome.
Simple README update for Clojure newbies like me : )
I just added a little extra information to the README file showing which dependency to add to your project.clj file to get started.
Accept keywords in keyword params (fix for #43)
The first commit adds tests that expose the bug. The second one is a fix.
wrap-keyword-params doesn't work with wrap-multipart-params
It seems that the keyword-params middleware doesn't accept a map with keys that are keywords instead of strings. Multipart-params produces such a map on file upload. The input's name is passed ...
Allow headers map/function for wrap-file?
Setting headers, particularly cache-control, can be very important when serving static files. This is especially true in an environment like Heroku, where you're relying on a server-side HTTP cache ...
NPE when attempting to use cookie session store
In trying to use the CookieStore session store using non-default attributes, I encountered the following stack trace: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: ...
Ger rid of reflection warnings
While trying to compile my own project with warn-on-reflection in Clojure 1.3.0 I got the following warnings in ring code. Reflection warning, ring/util/response.clj:50 - reference to field isDirectory ...