Correctly close chunked backchannel by sending zero length data.
This commit is contained in:
parent
6b83c2ae36
commit
a168be7336
|
@ -30,6 +30,9 @@
|
||||||
(when (.checkError (.getWriter (.getServletResponse continuation)))
|
(when (.checkError (.getWriter (.getServletResponse continuation)))
|
||||||
(throw async-adapter/ConnectionClosedException)))
|
(throw async-adapter/ConnectionClosedException)))
|
||||||
(close [this]
|
(close [this]
|
||||||
|
(doto (.getWriter (.getServletResponse continuation))
|
||||||
|
(.write "")
|
||||||
|
(.flush))
|
||||||
(.complete continuation)))
|
(.complete continuation)))
|
||||||
|
|
||||||
(defn- add-ssl-connector!
|
(defn- add-ssl-connector!
|
||||||
|
|
Reference in a new issue