Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

send -> emit

  • Loading branch information...
commit 00abce01b09dc330ded0ebf7b75392bfa26caff3 1 parent 29ff0b6
@mmcgrana authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ring-jetty-async-adapter/src/ring/adapter/jetty_async.clj
View
4 ring-jetty-async-adapter/src/ring/adapter/jetty_async.clj
@@ -56,7 +56,7 @@
:http
(let [reactor (:reactor response-map)
ac (.startAsync request)
- send (fn [{:keys [type data]}]
+ emit (fn [{:keys [type data]}]
(case type
:status
(servlet/set-status (.getResponse ac) data)
@@ -68,7 +68,7 @@
(.flush writer))
:close
(.complete ac)))
- recv (reactor send)]
+ recv (reactor emit)]
(recv {:type :init}))
:websocket
(let [reactor (:reactor response-map)
Please sign in to comment.
Something went wrong with that request. Please try again.