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::OpenTimeoutcarl.hoerberg (Carl Hörberg)
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)
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)
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)
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)
=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)
=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)
=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)