jmreid (Justin Reid)
- Login: jmreid
- Registered on: 10/10/2018
- Last sign in: 03/04/2020
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
03/05/2020
-
01:59 PM Ruby Bug #16672: net/http leaves original content-length header intact after inflating response
- jeremyevans0 (Jeremy Evans) wrote in #note-8:
> `total_out` doesn't give you the full size of the output until after the input is fully processed. So if there is an exception or other early exit from the block passed to `inflater` befo... -
04:42 AM Ruby Bug #16672: net/http leaves original content-length header intact after inflating response
- jeremyevans0 (Jeremy Evans) wrote in #note-6:
> I don't think net/http should be modifying the response headers. I think the response headers should remain exactly as sent by the server.
I do agree in general. However, in this case net/... -
02:56 AM Ruby Bug #16672: net/http leaves original content-length header intact after inflating response
- > So the method appears to be operating exactly as documented.
I'm not saying that method isn't working as intended. It's working as intended and I'm just using it to show the size of the header for the request net/http made. My comment... -
01:40 AM Ruby Bug #16672: net/http leaves original content-length header intact after inflating response
- ioquatix (Samuel Williams) wrote in #note-2:
> Are you using `res.content_length`? Why can't you just use `res.body.to_s.bytesize`?
`res.content_length` is just the `content-length` response header from the net/http request:
```
...
03/04/2020
-
09:22 PM Ruby Bug #16672 (Closed): net/http leaves original content-length header intact after inflating response
- When using net/http to make a request to a resource, the default request headers are the following (when you have ZLIB available):
`"accept-encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], "accept"=>["*/*"], "user-agent"=>["Ruby"...
10/11/2018
-
12:22 PM Ruby Bug #15221 (Closed): Segfault in Ruby VM
- Ruby is segfaulting randomly for me on MacOS 10.14 (18A391).
I don't have a script to reproduce the error as it seems to pop up randomly. But I was able to grab the stack trace (attached). It appears to be related to GC.