#81

The middleware wrap-head makes Content-Length always be 0

Because it sets :body to nil, and :body is used to set Content-Length.

  • Opened by aviflax Jun 24, 2013
  • 4 comments
#79

Session wrapper does not update the cookie after session expiry date is changed.

(ns ring-session-test.core) (use 'ring.middleware.session) (defn handler [{session :session uri :uri}] (let [res {:status 200 :headers {"Content-Type" "text/plain"} ...

  • Opened by zby Feb 2, 2013
  • 1 comment
#40

Upgrade to Jetty 7.x

Any plans to upgrade to jetty 7.x?

  • Opened by vitalyper Oct 26, 2011
  • 3 comments
#50

Upgrade clj-stacktrace to 0.2.4

The ring-devel leiningen project includes a dependency on clj-stacktrace 0.2.2. Unfortunately, that version of clj-stacktrace is not compatible with recent versions of swank-closure (1.3.4 or newer). The ...

  • Opened by artdent Jan 22, 2012
  • 1 comment
#48

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 ...

#51

Cookie parsing needs to deal with nil return value from url-decode

The decision to allow url-decode to return nil for improperly encoded strings (instead of throwing an exception) now means that cookie handling needs to accomodate this newly-endorsed return value. Frankly, ...

  • Opened by cch1 Feb 3, 2012
#53

Running additional WARs in addition to the app

I'm developping a webapp which has two components, one is a JSON REST service, the other the app itself. Both are written in Clojure with Compojure. When running the app with run-jetty, is there a ...

  • Opened by pallix Feb 23, 2012
  • 4 comments
#82

*read-eval* false?

At https://github.com/mmcgrana/ring/blob/master/ring-core/src/ring/middleware/session/cookie.clj#L92 should there be a (binding [read-eval false] ) ? Otherwise, it seems -- suppose some other vulnerability ...

  • Opened by txrev319 Oct 31, 2013
  • 2 comments
#83

Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest, compiling:(ring/middleware/multipart_params.clj:39:5)

In ring-core 1.2.1, I'm getting this explosion: Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest, compiling:(ring/middleware/multipart_params.clj:39:5) ...

#84

wrap-resource captures root route when in a jar file

If wrap-resource is added to the handler stack ahead of Compojure routes meant to serve the root (index) route while running from a jar file, it will mistakenly identify the top resource directory as a ...

  • Opened by pjlegato Jul 30, 2014
  • 2 comments