Permalink
Browse files
for async http, capture recv and send it explicit :init
- Loading branch information...
Showing
with
3 additions
and
2 deletions.
-
+3
−2
ring-jetty-async-adapter/src/ring/adapter/jetty_async.clj
|
|
@@ -67,8 +67,9 @@ |
|
|
(.println writer data)
|
|
|
(.flush writer))
|
|
|
:close
|
|
|
- (.complete ac)))]
|
|
|
- (reactor send))
|
|
|
+ (.complete ac)))
|
|
|
+ recv (reactor send)]
|
|
|
+ (recv {:type :init}))
|
|
|
:websocket
|
|
|
(let [reactor (:reactor response-map)
|
|
|
websocket (proxy-websocket reactor)
|
|
|
|
0 comments on commit
29ff0b6