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)))
|
||||
(throw async-adapter/ConnectionClosedException)))
|
||||
(close [this]
|
||||
(doto (.getWriter (.getServletResponse continuation))
|
||||
(.write "")
|
||||
(.flush))
|
||||
(.complete continuation)))
|
||||
|
||||
(defn- add-ssl-connector!
|
||||
|
|
Reference in a new issue