I'm not sure how I missed this one. Ssssh. Nothing to see here.
authorMahlon E. Smith <mahlon@martini.nu>
Tue, 15 Sep 2015 11:28:40 -0700
changeset 3 ecde1a332692
parent 2 46cbb042f2cb
child 4 ffb8b9920057
I'm not sure how I missed this one. Ssssh. Nothing to see here.
mongrel2.nim
--- a/mongrel2.nim	Tue May 26 16:02:27 2015 -0700
+++ b/mongrel2.nim	Tue Sep 15 11:28:40 2015 -0700
@@ -426,8 +426,8 @@
     ## to.  Nothing is put into action until the run() method is invoked.
     new( result )
     result.handler_id    = id
-    result.request_sock  = zmq.connect( "tcp://127.0.0.1:9009", PULL )
-    result.response_sock = zmq.connect( "tcp://127.0.0.1:9008", PUB )
+    result.request_sock  = zmq.connect( req_sock, PULL )
+    result.response_sock = zmq.connect( res_sock, PUB )
 
 
 proc parse_request( request: string ): M2Request =