You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure where this could be coming from-- repl-y, lein, drawbridge, nrepl, or something else-- but since the decision when to send these appears to be made by repl-y, I'll post this here and hope for the best.
When doing a very simple compojure hello world following the drawbridge README, and then connecting via:
lein repl :connect http://localhost:8080/repl
Everything seems to work, but a packet sniff shows that the server is getting pummeled by empty GET requests to that URL, every 8ms.
The GETs seem identical, and take this form:
GET /repl HTTP/1.1
Connection: close
accept-encoding: gzip, deflate
cookie: ring-session=e868f195-cc61-4e4b-9dc0-619446e17ffa
Content-Length: 0
Host: localhost:8080
User-Agent: Apache-HttpClient/4.2.2 (java 1.5)
HTTP/1.1 200 OK
Date: Mon, 28 Jan 2013 00:53:17 GMT
Content-Type: application/json;charset=ISO-8859-1
Connection: close
Server: Jetty(7.6.1.v20120215)
[
]
There are POSTs amongst this haystack that have acutal forms and their evaluation results, so it's working. But that's a lot of SPAM packets, apparently just no-ops. Every 8ms seems a bit excessive.
This is using Leiningen 2.0.0-RC2 on Java 1.7.0_03 OpenJDK 64-Bit Server VM, and drawbridge 0.0.6.
The text was updated successfully, but these errors were encountered:
I'm going to close this based on our discussion in nrepl/drawbridge#10 - REPLy's 100ms timeout on the recv should mean it only calls recv more often than that if responses are actually coming back before the timeout expires.
I'm not sure where this could be coming from-- repl-y, lein, drawbridge, nrepl, or something else-- but since the decision when to send these appears to be made by repl-y, I'll post this here and hope for the best.
When doing a very simple compojure hello world following the drawbridge README, and then connecting via:
Everything seems to work, but a packet sniff shows that the server is getting pummeled by empty GET requests to that URL, every 8ms.
The GETs seem identical, and take this form:
There are POSTs amongst this haystack that have acutal forms and their evaluation results, so it's working. But that's a lot of SPAM packets, apparently just no-ops. Every 8ms seems a bit excessive.
This is using Leiningen 2.0.0-RC2 on Java 1.7.0_03 OpenJDK 64-Bit Server VM, and drawbridge 0.0.6.
The text was updated successfully, but these errors were encountered: