joshc (Josh C)
- Login: joshc
- Email: josh.nw@gmail.com
- Registered on: 01/31/2013
- Last sign in: 04/24/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 6 | 7 |
Activity
02/24/2023
-
01:43 AM Ruby Bug #19378: Windows: Use less syscalls for faster require of big gems
- I've also noticed a significant increase in file IO events (as reported by procmon) due to https://github.com/ruby/ruby/commit/79a4484a072e9769b603e7b4fbdb15b1d7eccb15 introduced in Ruby 3.1.0. The code tries to prevent the same file fro...
02/23/2023
-
09:31 PM Ruby Bug #13831: error when try to install
- We've been carrying a patch for this issue for many years now and I submitted a PR: https://github.com/ruby/ruby/pull/7366 It affects ruby 3.2.1 through 1.9.3.
09/23/2022
-
03:04 PM Ruby Bug #19017: Net::HTTP may block when attempting to reuse a persistent connection
- Forgot to add the link to the draft PR: https://github.com/ruby/ruby/pull/6423.
> I think we should solve this in IO, not in Net::HTTP. Checking the class/type is a strong indication to me that the problem is not being solved at the r...
09/22/2022
-
08:56 PM Ruby Bug #19017 (Open): Net::HTTP may block when attempting to reuse a persistent connection
- Ruby's Net::HTTP code performs a blocking `Net::BufferedIO#eof?` check when attempting to reuse a persistent HTTP connection. See https://github.com/ruby/ruby/blob/6b099328af2ae2d04cbfd06fedc36a19cdecd30d/lib/net/http.rb#L1573. The bug i...
04/29/2021
-
06:32 PM Ruby Bug #17841 (Closed): The first instance of SortedSet doesn't sort when rbtree is present
- If the `rbtree` gem is present, then in ruby 2.7, the first instance of `SortedSet` will return entries in insertion order. Future instances of `SortedSet` correctly return sorted entries.
Given:
```
require 'rbtree'
require 'set...
08/12/2019
-
09:13 PM Ruby Bug #14972: Net::HTTP inconsistently raises EOFError when peer closes the connection
- naruse (Yui NARUSE) wrote:
> joshc (Josh C) wrote:
> ...
If you save the first response body, and make a new request with ```Range: bytes=X-Y```, then the `Content-Length` header in the second response should specify the number of byte...
08/08/2019
-
11:18 PM Ruby Bug #14972: Net::HTTP inconsistently raises EOFError when peer closes the connection
- When a range is requested, the content-length of the response is the number of bytes in the partial response, so I would still expect an exception to be raised if the partial response is truncated:
```
$ curl -s -v -r 0-100 -O http...
02/11/2019
-
06:32 PM Ruby Bug #14972: Net::HTTP inconsistently raises EOFError when peer closes the connection
- > It is to resume with the partially downloaded result.
Doesn't `Net::HTTPResponse#read_body` raise if called more than once? How can the caller resume?
01/22/2019
-
11:37 PM Ruby Bug #14972: Net::HTTP inconsistently raises EOFError when peer closes the connection
- I submitted a PR against trunk: https://github.com/ruby/ruby/pull/2074
09/20/2018
-
10:40 PM Ruby Bug #14972: Net::HTTP inconsistently raises EOFError when peer closes the connection
- If `@socket.read clen, dest` reads fully `clen` bytes then that seems ok. But if it can read fewer than `clen` bytes, then we should keep reading until we read `clen` bytes or reach EOF.