On 2020-09-21 19:11, Dimitry Sibiryakov wrote:
21.09.2020 18:03, Alex Peshkoff via Firebird-devel wrote:
The most intresting for us - it's closing all opened sockets (suppose for non-TCP clients something similiar is done). As the result all I/O waits on them are finished at once, therefore if isc_attach_database() was waiting for reply from server it will get immediately disconnected.

  A little funny thing: closing of socket that is currently waited for by select() or other similar function IS an undefined behavior on POSIX.


Yes if before it shutdown(socket) was not called.



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to