async-http 0.93.0 → 0.94.0

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: 5e65aa3d160ae1e6a561472f0960b6d0e0ed5f6cb2d5463a959eee3a7341adf1
4
- data.tar.gz: 05e439f36c293372b08e37c63c96f267ffc9c9007f3c2566cb727e9c39b7ef1a
3
+ metadata.gz: cebd0cf089e7b487c46236ed346bc623be87e1df32e2649c3c7c16b84879a3bc
4
+ data.tar.gz: b1ea789be2df30c902a445af0792395f2d24e36f7f7a42295fd5cb1d4594ef7e
5
5
  SHA512:
6
- metadata.gz: 63bd0e6e11eaeacff7634a04850414c4b38573a547d2d69fe8e6ebae7321e0f7284a8a36d571a090af6223ef92f4385b20ffe86147f63f6c1f96545e6b6dbef2
7
- data.tar.gz: 455e8567dbf8b78169def62283ec8d989265e4797503ec7530eee523647bcd867248f856d414f5570a3e737c4b2569599d52873e653de79a09c32ba329a75f0f
6
+ metadata.gz: 3392b1de050914ec70f2a8698b060878ead385619aeeec7723b6487c79c88d0d376748ba0d1eb93ef78abad04371595656b8617257bddbe62b9da19c8fb78105
7
+ data.tar.gz: 44ee15b4f05c0a3f9535f711703f307809748df3d3f5581eb0a1e7700b60991aa2fa23b7fa85c650d7f1e5b1113880b28e11a780a94f48da570ffe665e3ff391
checksums.yaml.gz.sig CHANGED
Binary file
@@ -91,14 +91,8 @@ module Async
91
91
  self.consume_window
92
92
  self.read_frame
93
93
  end
94
- rescue Async::Stop, ::IO::TimeoutError, ::Protocol::HTTP2::GoawayError => error
95
- # Error is raised if a response is actively reading from the
96
- # connection. The connection is silently closed if GOAWAY is
97
- # received outside the request/response cycle.
98
- rescue SocketError, IOError, EOFError, Errno::ECONNRESET, Errno::EPIPE
99
- # Ignore.
100
94
  rescue => error
101
- # Every other error.
95
+ # Close with error.
102
96
  ensure
103
97
  # Don't call #close twice.
104
98
  if @reader
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module HTTP
8
- VERSION = "0.93.0"
8
+ VERSION = "0.94.0"
9
9
  end
10
10
  end
data/readme.md CHANGED
@@ -16,6 +16,10 @@ Please see the [project documentation](https://socketry.github.io/async-http/) f
16
16
 
17
17
  Please see the [project releases](https://socketry.github.io/async-http/releases/index) for all releases.
18
18
 
19
+ ### v0.94.0
20
+
21
+ - Propagate all errors from background reader to active streams so that they are closed correctly (e.g. errors are not missed).
22
+
19
23
  ### v0.92.2
20
24
 
21
25
  - Better handling of trailers. If invalid trailers are received, the connection (HTTP/1) or stream (HTTP/2) is reset.
@@ -52,10 +56,6 @@ Please see the [project releases](https://socketry.github.io/async-http/releases
52
56
 
53
57
  - `protocol-http1` introduces a line length limit for request line, response line, header lines and chunk length lines.
54
58
 
55
- ### v0.81.0
56
-
57
- - Expose `protocol` and `endpoint` as tags to `async-pool` for improved instrumentation.
58
-
59
59
  ## See Also
60
60
 
61
61
  - [benchmark-http](https://github.com/socketry/benchmark-http) — A benchmarking tool to report on web server concurrency.
data/releases.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Releases
2
2
 
3
+ ## v0.94.0
4
+
5
+ - Propagate all errors from background reader to active streams so that they are closed correctly (e.g. errors are not missed).
6
+
3
7
  ## v0.92.2
4
8
 
5
9
  - Better handling of trailers. If invalid trailers are received, the connection (HTTP/1) or stream (HTTP/2) is reset.
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- j��$m�N\
2
- dr�ϵ5��@f��5L�3���@�5���/�����v ǸiYn�2�-����y� ��@�4+�v[T���~`�'��r����WX�2�k��XY�W�fX/���?��6X���~蘙�@|��� R }�+��C�*�ɧ��IvTm,
1
+
2
+ maŵpjP&<�� U DWؘ`��$J=�O=/��2~�H9uQ��q��\Xju ��o|>�l�b�:^�9��*;zr��D+"����[|x2������m��z�W�%TA��y"���kV��ä�;n\�h� ���ݕ�#��CEv�.�W;�s�$����˲Y��TDȅLb�$#_����]��;,J>M�u����?��o�Ӕ���V$wp
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.0
4
+ version: 0.94.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file