rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
blob f8494d12852aa290f70ea6d17e53879d7f399389 422 bytes (raw)
$ git show HEAD:t/t0022-copy_stream-byte-range.sh	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#!/bin/sh
. ./test-lib.sh
test -r random_blob || die "random_blob required, run with 'make $0'"
check_copy_stream

t_plan 13 "IO.copy_stream byte range response for $model"

t_begin "setup and startup" && {
	rtmpfiles out err
	rainbows_setup $model
	# can't load Rack::Lint here since it clobbers body#to_path
	rainbows -E none -D large-file-response.ru -c $unicorn_config
	rainbows_wait_start
}

. ./byte-range-common.sh

git clone https://yhbt.net/rainbows.git