unicorn 5.1.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -230,6 +230,24 @@ def test_nasty_pound_header
230
230
  assert_equal expect, req['HTTP_X_SSL_BULLSHIT']
231
231
  end
232
232
 
233
+ def test_multiline_header_0d0a
234
+ parser = HttpParser.new
235
+ parser.buf << "GET / HTTP/1.0\r\n" \
236
+ "X-Multiline-Header: foo bar\r\n\tcha cha\r\n\tzha zha\r\n\r\n"
237
+ req = parser.env
238
+ assert_equal req, parser.parse
239
+ assert_equal 'foo bar cha cha zha zha', req['HTTP_X_MULTILINE_HEADER']
240
+ end
241
+
242
+ def test_multiline_header_0a
243
+ parser = HttpParser.new
244
+ parser.buf << "GET / HTTP/1.0\n" \
245
+ "X-Multiline-Header: foo bar\n\tcha cha\n\tzha zha\n\n"
246
+ req = parser.env
247
+ assert_equal req, parser.parse
248
+ assert_equal 'foo bar cha cha zha zha', req['HTTP_X_MULTILINE_HEADER']
249
+ end
250
+
233
251
  def test_continuation_eats_leading_spaces
234
252
  parser = HttpParser.new
235
253
  header = "GET / HTTP/1.1\r\n" \
data/unicorn_1 ADDED
@@ -0,0 +1 @@
1
+ olddoc_placeholder
data/unicorn_rails_1 ADDED
@@ -0,0 +1 @@
1
+ olddoc_placeholder
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - unicorn hackers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-01 00:00:00.000000000 Z
11
+ date: 2016-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -115,6 +115,8 @@ extra_rdoc_files:
115
115
  - lib/unicorn/util.rb
116
116
  - lib/unicorn/oob_gc.rb
117
117
  - lib/unicorn/worker.rb
118
+ - unicorn_1
119
+ - unicorn_rails_1
118
120
  - ISSUES
119
121
  - Sandbox
120
122
  - Links
@@ -276,7 +278,9 @@ files:
276
278
  - test/unit/test_upload.rb
277
279
  - test/unit/test_util.rb
278
280
  - unicorn.gemspec
279
- homepage: http://unicorn.bogomips.org/
281
+ - unicorn_1
282
+ - unicorn_rails_1
283
+ homepage: https://bogomips.org/unicorn/
280
284
  licenses:
281
285
  - GPL-2.0+
282
286
  - Ruby-1.8
@@ -297,7 +301,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
297
301
  version: '0'
298
302
  requirements: []
299
303
  rubyforge_project:
300
- rubygems_version: 2.6.2
304
+ rubygems_version: 2.6.7
301
305
  signing_key:
302
306
  specification_version: 4
303
307
  summary: Rack HTTP server for fast clients and Unix