[nanomsg] Re: Event Source handling in HTTP server

  • From: afshin afzali <a.afzali2003@xxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Mon, 28 Jan 2019 11:52:33 +0330

Hi Garret,

Let me explain my case more clear. In a custom HTTP handler I need to be
able to send back infinite responses back to the unique client in an open
time interval. In the context of the HTTP handler I just have an aio
pointer which is supplied by the HTTP server instance. For sending back a
response I have to finish the aio by invoking nng_aio_finish. So I think
that causes somehow invalidate the aio for next responses.

Afshin,

Other related posts: