protocol-http1 0.34.0 → 0.34.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a4b695a7ab64f24291608bea0c5cfc63bc0f4ad2c8a43f6056b7c94b2c5e04d
4
- data.tar.gz: 8f832a2d5c95ba99d0414388d0e39fa1089029811869065e008c4f5154fda3b5
3
+ metadata.gz: 71b9e3af2e930f52ebe6594fc1c81c7454328ab55a19b92c349b95d0d8343b6e
4
+ data.tar.gz: de119685170063e914f8648d84737b520134ca73a4268762b7d935fe45b07fa3
5
5
  SHA512:
6
- metadata.gz: 4ab3b82afa6cb3d943b3cf6343c0d4d1050e706a610b7a6cb5f560e428f2d94e94b1a51ae4ba65b284a3f112c5fd415b5597dd66aea572e3cd9d35293f86e04d
7
- data.tar.gz: 8dc16b3d684f60cdded074e0abdcd211865f229c6769bb568700fa41c986e71ce52be260937ccf9a7090672faa2fdbba3ddeb429f22797ecbe33c88adf28f1f1
6
+ metadata.gz: 6a0d9ecf4e542e88ff411495e92e3b9cc754b144429232e55acff51b73a5efa767387fa1a7fa299b8319385dab67a747406089bec7e3cb5ea8ab2345645ad20a
7
+ data.tar.gz: a1c881966df2abc55ba758445f5b17f8664f115ae37d9ff4e7fe8039f7a2a60bf095c7698281954f69b6b4aee99466abbdb13a6af32263ed63d14dc93562b05f
checksums.yaml.gz.sig CHANGED
Binary file
@@ -214,9 +214,11 @@ module Protocol
214
214
 
215
215
  # Close the read end of the connection and transition to the half-closed remote state (or closed if already in the half-closed local state).
216
216
  def close_read
217
- @persistent = false
218
- @stream&.close_read
219
- self.receive_end_stream!
217
+ unless @state == :closed
218
+ @persistent = false
219
+ @stream&.close_read
220
+ self.receive_end_stream!
221
+ end
220
222
  end
221
223
 
222
224
  # Close the connection and underlying stream and transition to the closed state.
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Protocol
7
7
  module HTTP1
8
- VERSION = "0.34.0"
8
+ VERSION = "0.34.1"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.34.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -41,7 +41,7 @@ cert_chain:
41
41
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
42
42
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
43
43
  -----END CERTIFICATE-----
44
- date: 2025-03-20 00:00:00.000000000 Z
44
+ date: 1980-01-02 00:00:00.000000000 Z
45
45
  dependencies:
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: protocol-http
@@ -85,14 +85,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: '3.1'
88
+ version: '3.2'
89
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  requirements:
91
91
  - - ">="
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 3.6.2
95
+ rubygems_version: 3.6.7
96
96
  specification_version: 4
97
97
  summary: A low level implementation of the HTTP/1 protocol.
98
98
  test_files: []
metadata.gz.sig CHANGED
Binary file