async-io icon indicating copy to clipboard operation
async-io copied to clipboard

Concurrent wrappers for native Ruby IO & Sockets.

Results 14 async-io issues
Sort by recently updated
recently updated
newest added

## Description This changes the implementation to delegate directly to native I/O where possible. However, there is one bug in the Ruby 3.0.0 (& 3.0.1) release which prevent its use...

Hi, We have an issue with Async::IO::Endpoint#connect on Windows. On Mac, the methods returns with Errno 61 Connection refused if the server does not respond. But on Windows, it blocks...

Some badly behaved clients fumble TLS negotiation which ends up causing a lot of stack dump activity in the Async logs. Example: ``` 4m: Async::Task | OpenSSL::SSL::SSLError: SSL_accept returned=1 errno=0...

I expect the SNMP-GET request not to block: ```ruby require 'bundler/setup' require 'snmp' require 'async' require 'async/io' require 'async/io/udp_socket' OID_SYSNAME = "1.3.6.1.2.1.1.5.0" OID_SYSLOCATION = "1.3.6.1.2.1.1.6.0" module SNMP include Async::IO end...

After a glance of the source code, I guess not. Multicast can be supported when a flag is set. If not, any workaround? Thanks! BTW, #7 mentions about a platform...

question

Getting this error when trying to run an `Async::HTTP::Server` on Windows (`async-io v1.29.0`): ``` 0.24s error: Async::Task [oid=0x29ec990] [pid=3392] [2020-05-04 18:22:32 -0700] | Errno::EINVAL: Invalid argument | → C:/Ruby26-x64/lib/ruby/2.6.0/socket.rb 593...

How do I stop accepting connections? In my server I want to have shutdown behavior that gracefully handles all existing connections, but does not accept new ones.

question

https://github.com/socketry/async/issues/22 It looks like `SO_REUSEPORT` is not available on some platforms (e.g. Windows), but perhaps `SO_REUSEADDR` is the next best thing. Needs further investigation, and perhaps we should consider setting...

What the title says. ```ruby # Writes `string` to the buffer. When the buffer is full or #sync is true the # buffer is flushed to the underlying `io`. #...

`fill_read_buffer` has a race condition which can potentially lead to data loss. Consider the following sequence of events: - init - Fiber 1 issues a `read` of 16K bytes. This...