macournoyer / thin Public
Permalink
Switch branches/tags
{{ refName }}
default
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Commits on Dec 25, 2021
-
Increase timeout when checking for server stop
On Ubuntu Impish (development version), we're currently facing a problem where thin's testsuite fails when it runs on an armhf system. After some investigation, I noticed that the reason for this failure was that the server was still running even after the loop on spec/spec_helper.rb:stop_server. Given that the loop is actively checking to see if the server has stopped, I'd like to propose that the timeout be increased from 1 second to 10 seconds. Although I'm not a fan of the "let's-just-increase-the-timeout" type of solutions, in this particular case I think it's justified and makes sense (1 second may indeed be too quick for the server to properly stop). Signed-off-by: Sergio Durigan Junior <sergio.durigan@canonical.com>
Commits on May 20, 2021
-
Merge pull request #381 from macournoyer/bump-version
Bump version to 1.8.1
-
-
Merge pull request #377 from macournoyer/header-injection
Fix possible HTTP Response Splitting
Commits on May 18, 2021
Commits on May 17, 2021
-
Fix possible HTTP Response Splitting
Ignore any response header with \r or \n in their value See GHSA-84j7-475p-hp8v
-
-
-
Commits on Nov 13, 2020
Commits on Sep 30, 2020
-
Old URL doesn't exist anymore. Closes #373
Commits on Sep 7, 2020
-
Fix maximum_connections limiting test.
This test recently started to fail on Fedora. I suspect that either Kernel or systemd increased RLIMIT_NOFILE by default to 512k. There should probably be additional logic, which would initialize the maximum_connections variable I refactored. `prlimit` can display the actual value.
-
One-line fix, as suggested in https://stackoverflow.com/a/25631436/446106
-
-
-
-
Commits on Aug 4, 2020
Commits on Aug 3, 2020
-
Don't wait for
daemon_test.logto exist, just assume it does after ……server is finished.
-
-
-
-
-
-
-
Mock Kernel.warn in Ruby 2.5 compatible way.
Ruby changed the way Kernel#warn reports the error [1], but mocking the method on the class, which is calling it, should be universal [2]. [1] https://bugs.ruby-lang.org/issues/12944 [2] https://www.reddit.com/r/ruby/comments/2nki9q/rspec_how_do_you_mock_or_stub_kernel_methods_like/

