[Vortex] pull api + tls, missing connection closed event

DEXTER mydexterid at gmail.com
Mon Aug 29 17:40:28 CEST 2011


Could this be because in vortex_tls.c:909 (__vortex_tls_start_negotiation),
when the connection is copied via vortex_connection_new_empty_from_connection,
the set_on_close handlers are not copied. So the pull api won't be
able to tell that this copied connectino was closed?

On Wed, Aug 24, 2011 at 3:04 PM, DEXTER <mydexterid at gmail.com> wrote:
> Hi Francis,
>
> It seems that when using TLS + PULL api there's no event notification
> about the connection closed event.
>
> I've created (copied) a simple server/client (attached), where you can
> try this out.
>
> If you start both, and while the client is running, you terminate the
> server (Ctrl+c) you'll see there will be no connection closed event on
> the client side.
>
> while if you comment out the vortex_connection_start_negotiation_sync
> in the client.c and repeat the above process, you'll see that the
> client receives the connection closed event.
>


More information about the Vortex mailing list