From: msuchanek@... Date: 2020-01-27T21:26:16+00:00 Subject: [ruby-core:97007] [Ruby master Feature#16597] missing poll() Issue #16597 has been updated by michals (Michal Such�nek). ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux-gnu] ---------------------------------------- Feature #16597: missing poll() https://bugs.ruby-lang.org/issues/16597#change-84094 * Author: michals (Michal Such�nek) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- When using a socket or a pipe for writing select() cannot determine that the socket is closed. It tells you that it is ready to write but if you don't have data to write you cannot tell that it is in fact closed. ruby internally uses poll() which can tell when a write socket is closed (without attempting a write()) but presents the broken select() interface. -- https://bugs.ruby-lang.org/ Unsubscribe: