diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-19 17:57:37 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-19 18:29:20 -0700 |
commit | efd8491d4906d190abc5e190a2111c04b01b729b (patch) | |
tree | ca858ca36181fa37c1e81bf265c676c17cf7c088 /lib | |
parent | 915c7b94558170683570f43aa6cb4dcd9fd7f936 (diff) | |
download | gitlab-ce-efd8491d4906d190abc5e190a2111c04b01b729b.tar.gz |
Revert "Increase timeout for Git-over-HTTP requests."
This reverts commit 516bcabbf42d60db2ac989dce4c7187b2a1e5de9.
Conflicts:
Gemfile
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/middleware/timeout.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/gitlab/middleware/timeout.rb b/lib/gitlab/middleware/timeout.rb deleted file mode 100644 index 015600392b9..00000000000 --- a/lib/gitlab/middleware/timeout.rb +++ /dev/null @@ -1,13 +0,0 @@ -module Gitlab - module Middleware - class Timeout < Rack::Timeout - GRACK_REGEX = /[-\/\w\.]+\.git\//.freeze - - def call(env) - return @app.call(env) if env['PATH_INFO'] =~ GRACK_REGEX - - super - end - end - end -end |