From 5571dc766e2143e39762ff0b47c41d1c2e154f4c Mon Sep 17 00:00:00 2001 From: Benjamin Sanders Date: Sat, 11 Oct 2025 10:34:24 -0400 Subject: Vendor bundled gems for deployment --- .../3.4.0/gems/webrick-1.9.1/lib/webrick/compat.rb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/lib/webrick/compat.rb (limited to 'vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/lib/webrick/compat.rb') diff --git a/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/lib/webrick/compat.rb b/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/lib/webrick/compat.rb new file mode 100644 index 0000000..842da1e --- /dev/null +++ b/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/lib/webrick/compat.rb @@ -0,0 +1,36 @@ +# frozen_string_literal: true +# +# compat.rb -- cross platform compatibility +# +# Author: IPR -- Internet Programming with Ruby -- writers +# Copyright (c) 2002 GOTOU Yuuzou +# Copyright (c) 2002 Internet Programming with Ruby writers. All rights +# reserved. +# +# $IPR: compat.rb,v 1.6 2002/10/01 17:16:32 gotoyuzo Exp $ + +## +# System call error module used by webrick for cross platform compatibility. +# +# EPROTO:: protocol error +# ECONNRESET:: remote host reset the connection request +# ECONNABORTED:: Client sent TCP reset (RST) before server has accepted the +# connection requested by client. +# +module Errno + ## + # Protocol error. + + class EPROTO < SystemCallError; end + + ## + # Remote host reset the connection request. + + class ECONNRESET < SystemCallError; end + + ## + # Client sent TCP reset (RST) before server has accepted the connection + # requested by client. + + class ECONNABORTED < SystemCallError; end +end -- cgit v1.2.3