net-protocol
net-protocol copied to clipboard
The abstruct interface for net-* client.
Hi guys! I got `TypeError: no implicit conversion from nil to integer` on my macbook m1 pro + chrome 114.0.5735.198(arm64). I added`@rbuf_offset = 0 unless @rbuf_offset` in `.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:198` And now...
The [license file](https://github.com/ruby/net-protocol/blob/master/LICENSE.txt) contains BSD-2-Clause license, while gemspec specifies [Ruby OR BSD-2-Clause](https://github.com/ruby/net-protocol/blob/2d3c4b43a837a616e5853f807cde63aaffbcd280/net-protocol.gemspec#L20). Assuming the latter is correct, how to capture this information? Is COPYING file similar to Ruby the way...
I believe the last use of the `timeout()` method was removed in 2008 76c2840 I believe the only use of the `timeout` library is `OpenTimeout`, `ReadTimeout` & `WriteTimeout` inheriting from...
When the caller doesn't specify the destination, there's no need to append the rbuf to empty string - the rbuf slice itself could be used as initial dest value.
Using Ruby 2.7.5 and Rails 7.0.2.2, when I have version 0.1.2 installed, every `rake` or `rails` task drops these warnings: ``` /usr/local/lib/ruby/2.7.0/net/protocol.rb:66: warning: already initialized constant Net::ProtocRetryError /usr/local/bundle/gems/net-protocol-0.1.2/lib/net/protocol.rb:68: warning: previous...
Hi there. We recently did a Ruby update in our system. Part of that was using newer `net-pop` and `net-protocol` versions. After updating, we started seeing Net::ReadTimeout errors about once...
At first it looks like it is related to the pull request https://github.com/ruby/net-protocol/pull/30 But applying the proposed fixed didn't solve it for me case. ~~~ 2024-07-23 14:09:23 - Net::ReadTimeout -...