Sha256: e50dd35b031aa1976b90ec2bdf4cf873e008f3c1d16bc3fe0a8b1290307f2097

Contents?: true

Size: 424 Bytes

Versions: 23

Compression:

Stored size: 424 Bytes

Contents

# To try out the graceful exit via SIGQUIT, start up a proxymachine with this
# configuration, and run the following curl command a few times:
#     curl http://localhost:5432/ubuntu-releases/9.10/ubuntu-9.10-beta-alternate-amd64.iso \
#     -H "Host: mirrors.cat.pdx.edu" > /dev/null
# Then send a SIGQUIT to the process and stop the long downloads one by one.

proxy do |data|
  { :remote => "mirrors.cat.pdx.edu:80" }
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
proxymachine-0.2.8 examples/long.rb
proxymachine-0.2.7 examples/long.rb
proxymachine-0.2.6 examples/long.rb