Re: [Firebird-devel] op_exit/op_disconnect in aux connection

2017-01-12 Thread Jiří Činčura
>interface.cpp - is a client code. Server code is at
>remote/server/server.cpp
> Look at rem_port::disconnect and take into account this comment
> 
>   // For WNET and XNET we should send dummy op_disconnect packet
>   // to wakeup async port handling events on client side.
>   // For INET it's not necessary because INET client's async port
>   // wakes up while server performs shutdown(socket) call on its async 
> port.

Thanks. That makes it clear. :)

-- 
Mgr. Jiří Činčura
Independent IT Specialist

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] op_exit/op_disconnect in aux connection

2017-01-12 Thread Vlad Khorsun
12.01.2017 12:25, Jiří Činčura пишет:
> Hi *,
>
> I'm looking at
> https://github.com/FirebirdSQL/firebird/blob/master/src/remote/client/interface.cpp#L6007
> and wondering whether the server can ever send op_exit/op_disconnect on
> aux connection? Is that possible? And I can somehow do it (for testing)?

   interface.cpp - is a client code. Server code is at remote/server/server.cpp
Look at rem_port::disconnect and take into account this comment

// For WNET and XNET we should send dummy op_disconnect packet
// to wakeup async port handling events on client side.
// For INET it's not necessary because INET client's async port
// wakes up while server performs shutdown(socket) call on its async 
port.

Hope it helps,
Vlad


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] op_exit/op_disconnect in aux connection

2017-01-12 Thread Jiří Činčura
Hi *,

I'm looking at
https://github.com/FirebirdSQL/firebird/blob/master/src/remote/client/interface.cpp#L6007
and wondering whether the server can ever send op_exit/op_disconnect on
aux connection? Is that possible? And I can somehow do it (for testing)?

-- 
Mgr. Jiří Činčura
Independent IT Specialist

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel