async-http 0.95.0 → 0.95.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: 9ccacda954db4a8169a839716b97ab515b2a7c4077979c097e0e32960a489137
4
- data.tar.gz: bece54b3e60dc58f15d6ac0bc9fd383b3ba33e75f6ba21f7dae830b1e22a0528
3
+ metadata.gz: f754b26e9ad6bd266ee038889153c4636c277635c8c8e3da73e6af86b1f57a21
4
+ data.tar.gz: 10cbf4e74b321e8883532a54b35f5b78b196263cdf7973f9845e86659d32100c
5
5
  SHA512:
6
- metadata.gz: e5a8f2d96544ab560a03ec304ce29f26843fcd1a511bff1aaa60d05c4f5157d954fff51fcbc37a8bb835884a27606c7501540c5cac18240e57eb6e7d834a0807
7
- data.tar.gz: 2ea2d61d2144079119dfcf769f30a942df02f709dc1b61839d55d912bdbbbd64c7719d9895c4e38c734a3af1696b4d617e7e8b875e1d195c7e8371cfcdc7474e
6
+ metadata.gz: 99c91cd69b7e4d66256f1a88ddd92833eac62b246be9bb44dc93fff4a897a6baa01e6d8023e6622cffb372aecba265af9be31576a76740727900629075299cb2
7
+ data.tar.gz: 7cb339f333fc8b5e63c1ebd088ee724431456c8a00ffd1e88b1f7157c3737f718f38d3b37f763cbd91fa8158a0c69659756313b2ebb807f9e6105dbc649eed56
checksums.yaml.gz.sig CHANGED
Binary file
@@ -44,6 +44,16 @@ module Async
44
44
  @write_frame_guard.acquire(&block)
45
45
  end
46
46
 
47
+ # Write a single frame, deferring stop until the frame is written.
48
+ def write_frame(frame)
49
+ Task.current.defer_stop{super}
50
+ end
51
+
52
+ # Write multiple frames, deferring stop until the frames are written.
53
+ def write_frames
54
+ Task.current.defer_stop{super}
55
+ end
56
+
47
57
  # @returns [String] A string representation of this connection.
48
58
  def to_s
49
59
  "\#<#{self.class} #{@streams.count} active streams>"
@@ -7,6 +7,6 @@
7
7
  module Async
8
8
  # @namespace
9
9
  module HTTP
10
- VERSION = "0.95.0"
10
+ VERSION = "0.95.1"
11
11
  end
12
12
  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.95.1
20
+
21
+ - Fix handling of reset stream causing complete connection failure.
22
+
19
23
  ### v0.95.0
20
24
 
21
25
  - Use `Protocol::HTTP::RefusedError` for safe retry of requests not processed by the server, including non-idempotent methods like PUT.
@@ -55,10 +59,6 @@ Please see the [project releases](https://socketry.github.io/async-http/releases
55
59
 
56
60
  - [Support custom protocols with options](https://socketry.github.io/async-http/releases/index#support-custom-protocols-with-options)
57
61
 
58
- ### v0.87.0
59
-
60
- - [Unify HTTP/1 and HTTP/2 `CONNECT` semantics](https://socketry.github.io/async-http/releases/index#unify-http/1-and-http/2-connect-semantics)
61
-
62
62
  ## See Also
63
63
 
64
64
  - [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.95.1
4
+
5
+ - Fix handling of reset stream causing complete connection failure.
6
+
3
7
  ## v0.95.0
4
8
 
5
9
  - Use `Protocol::HTTP::RefusedError` for safe retry of requests not processed by the server, including non-idempotent methods like PUT.
data.tar.gz.sig CHANGED
Binary file
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.95.0
4
+ version: 0.95.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file