Sha256: 08980a68cc4a0234cf39619d974db55d828bf14fb2b1a336bdbb23a96ad476ec

Contents?: true

Size: 693 Bytes

Versions: 16

Compression:

Stored size: 693 Bytes

Contents

# -*- encoding: binary -*-

module Pitchfork
  module Const # :nodoc:
    # default TCP listen host address (0.0.0.0, all interfaces)
    DEFAULT_HOST = "0.0.0.0"

    # default TCP listen port (8080)
    DEFAULT_PORT = 8080

    # default TCP listen address and port (0.0.0.0:8080)
    DEFAULT_LISTEN = "#{DEFAULT_HOST}:#{DEFAULT_PORT}"

    # The basic request body size we'll try to read at once (16 kilobytes).
    CHUNK_SIZE = 16 * 1024

    # Maximum request body size before it is moved out of memory and into a
    # temporary file for reading (112 kilobytes).  This is the default
    # value of client_body_buffer_size.
    MAX_BODY = 1024 * 112
  end
end
require_relative 'version'

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
pitchfork-0.12.0 lib/pitchfork/const.rb
pitchfork-0.11.1 lib/pitchfork/const.rb
pitchfork-0.11.0 lib/pitchfork/const.rb
pitchfork-0.10.0 lib/pitchfork/const.rb
pitchfork-0.9.0 lib/pitchfork/const.rb
pitchfork-0.8.0 lib/pitchfork/const.rb
pitchfork-0.7.0 lib/pitchfork/const.rb
pitchfork-0.6.0 lib/pitchfork/const.rb
pitchfork-0.5.0 lib/pitchfork/const.rb
pitchfork-0.4.1 lib/pitchfork/const.rb
pitchfork-0.4.0 lib/pitchfork/const.rb
pitchfork-0.3.0 lib/pitchfork/const.rb
pitchfork-0.2.0 lib/pitchfork/const.rb
pitchfork-0.1.2 lib/pitchfork/const.rb
pitchfork-0.1.1 lib/pitchfork/const.rb
pitchfork-0.1.0 lib/pitchfork/const.rb