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