Sha256: ebbb564e98412abaec39c05a6f768faefe7de9123b08db6aee80d20d9cc034c4

Contents?: true

Size: 723 Bytes

Versions: 4

Compression:

Stored size: 723 Bytes

Contents

# -*- encoding: binary -*-
# frozen_string_literal: true

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

4 entries across 4 versions & 1 rubygems

Version Path
pitchfork-0.16.0 lib/pitchfork/const.rb
pitchfork-0.15.0 lib/pitchfork/const.rb
pitchfork-0.14.0 lib/pitchfork/const.rb
pitchfork-0.13.0 lib/pitchfork/const.rb