General

Profile

carl.hoerberg (Carl Hörberg)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 2 3

Activity

01/19/2021

10:01 AM Ruby Feature #14430: net/http: use Socket.tcp with connect_timeout, instead of TCPSocket.open wrapped in Timeout.timeout
The PR is updated, based on master and adds Net::HTTP#resolve_timeout, which delegates to Socket.tcp resolve_timeout, based on https://bugs.ruby-lang.org/issues/16381 but reraiseing Errno::ETIMEOUT as Net::OpenTimeout carl.hoerberg (Carl Hörberg)

02/18/2018

05:26 PM Ruby Bug #14486 (Closed): MINIRUBY not quoted in template/configure-ext.mk.tmpl
MINIRUBY is not quoted in template/configure-ext.mk.tmpl, which made cross compiling, when MINIRUBY is something like "/usr/bin/ruby --disable=gems -I/home/vagrant/.termux-build/ruby/build -raarch64-linux-android-fake", problematic as th... carl.hoerberg (Carl Hörberg)

02/16/2018

01:36 PM Ruby Bug #14466: Errno::ECONNRESET or Errno::EPIPE raised instead of HTTPResponse returned when POSTing with large body
sk (SK Liew) wrote:
> Expected: HTTPResponse with status code of 404.
> ...
are you sure it's not the server that's aborting the connection before returning a 404? use eg. wireshark to confirm.
carl.hoerberg (Carl Hörberg)

02/04/2018

12:37 PM Ruby Feature #14430: net/http: use Socket.tcp with connect_timeout, instead of TCPSocket.open wrapped in Timeout.timeout
normalperson (Eric Wong) wrote:
>
> ...
Right, good catch.
>
> ...
Looking into this i realize that /etc/nsswitch.conf has be to taken into account first. And then maybe nscd, but very few distros (if any?) install it by defau...
carl.hoerberg (Carl Hörberg)

02/01/2018

12:51 PM Ruby Feature #14430 (Open): net/http: use Socket.tcp with connect_timeout, instead of TCPSocket.open wrapped in Timeout.timeout
Instead of using TCPSocket.open, wrapped in Timeout.timeout, that will create a temporary thread. By using Socket.tcp with the connect_timeout argument for open_timeout the connection opening is much more efficient as the kernels timeout... carl.hoerberg (Carl Hörberg)

04/06/2011

07:56 PM Ruby Bug #4549: Can't start class names with non us-ascii chars
=begin
I beg the differ! ÅÄÖ are all uppercase letters, as oppose to åäö, in the Swedish alphabet.
The problem this is occurring for us is that we can't the name the objects in your domain model correctly. We don't wan't to translate i...
carl.hoerberg (Carl Hörberg)

04/02/2011

05:34 PM Ruby Bug #4549: Can't start class names with non us-ascii chars
=begin
irb(main):003:0> #encoding: UTF-8
irb(main):004:0* class Åäö; end
SyntaxError: (irb):4: class/module name must be CONSTANT
class Åäö; end
^
from /usr/local/bin/irb:12:in `<main>'
...
carl.hoerberg (Carl Hörberg)
05:33 PM Ruby Bug #4549 (Rejected): Can't start class names with non us-ascii chars
=begin
irb(main):003:0> #encoding: UTF-8
irb(main):004:0* class Åäö; end
SyntaxError: (irb):4: class/module name must be CONSTANT
class Åäö; end
^
from /usr/local/bin/irb:12:in `<main>'
=end
carl.hoerberg (Carl Hörberg)

Also available in: Atom