Skip to content

Commit

Permalink
bumped version to 0.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
HoneyryderChuck committed Dec 9, 2021
1 parent 938d69a commit facffe7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ response = HTTPX.get("https://nghttp2.org")
puts response.status #=> 200
body = response.body
puts body #=> #<HTTPX::Response ...
```
```

You can also send as many requests as you want simultaneously:

Expand Down Expand Up @@ -79,7 +79,7 @@ In Ruby, HTTP client implementations are a known cheap commodity. Why this one?

### Concurrency

This library supports HTTP/2 seamlessly (which means, if the request is secure, and the server support ALPN negotiation AND HTTP/2, the request will be made through HTTP/2). If you pass multiple URIs, and they can utilize the same connection, they will run concurrently in it.
This library supports HTTP/2 seamlessly (which means, if the request is secure, and the server support ALPN negotiation AND HTTP/2, the request will be made through HTTP/2). If you pass multiple URIs, and they can utilize the same connection, they will run concurrently in it.

However if the server supports HTTP/1.1, it will try to use HTTP pipelining, falling back to 1 request at a time if the server doesn't support it (if the server support Keep-Alive connections, it will reuse the same connection).

Expand Down Expand Up @@ -137,7 +137,8 @@ In order to use HTTP/2 under JRuby, [check this link](https://gitlab.com/honeyry

### Known bugs

Doesn't work with ruby 2.4.0 for Windows (see [#36](https://gitlab.com/honeyryderchuck/httpx/issues/36)).
* Doesn't work with ruby 2.4.0 for Windows (see [#36](https://gitlab.com/honeyryderchuck/httpx/issues/36)).
* Using `total_timeout` along with the `:persistent` plugin [does not work as you might expect](https://gitlab.com/honeyryderchuck/httpx/-/wikis/Timeouts#total_timeout).

## Contributing

Expand Down
10 changes: 10 additions & 0 deletions doc/release_notes/0_18_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 0.18.2

## Bugfixes

* A bug was reported and fixed, whereby a persistent connection with a `:total_timeout` set was triggering the timeout and leaving the process looping indefinitely.


## Chore

The quirk of using the `:persistent` plugin with `:total_timeout` has been documented: https://gitlab.com/honeyryderchuck/httpx/-/wikis/Timeouts#total_timeout.
2 changes: 1 addition & 1 deletion lib/httpx/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module HTTPX
VERSION = "0.18.1"
VERSION = "0.18.2"
end
6 changes: 6 additions & 0 deletions www/_data/versions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
-
-
name: "0.18.2"
path: "0_18_2_md.html"
-
name: "0.18.1"
path: "0_18_1_md.html"
-
name: "0.18.0"
path: "0_18_0_md.html"
Expand Down

0 comments on commit facffe7

Please sign in to comment.