[Vortex] vortex_connection_is_ok not working properly

Francis Brosnan Blazquez francis at aspl.es
Wed Jan 16 09:30:17 CET 2008


Hi Chris,

> I have a situation where a local and a remote machine are connected
> and the VortexConnection's are cached. The remote machine then goes
> down and restarts. After 1 minute, the local machine then tries to
> connect using the VortexConnection that was cached earlier.
> vortex_connection_is_ok() is called with this cached
> VortexConnection and it returns true.  Then, vortex_connection_is_ok()
> is called one more time with the same VortexConnection and this time
> it (correctly) fails.
>  
> Is this a bug? 

vortex_connection_is_ok only checks for the state of an internal flag
(is_connected) and the value of the socket. If the function returns
false then the connection was closed somewhere....

Cheers,
 
> Chris Yourch
>  
> _______________________________________________
> Vortex mailing list
> Vortex at lists.aspl.es
> http://lists.aspl.es/cgi-bin/mailman/listinfo/vortex
-- 
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.




More information about the Vortex mailing list