Skip to content

Commit 730235a

Browse files
authored
Merge pull request #732 from davidwebster48/master
Fix typos
2 parents 1dd4b92 + 6c3a73a commit 730235a

File tree

4 files changed

+21
-22
lines changed

4 files changed

+21
-22
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ erl_crash.dump
99
mime.types
1010
.rebar
1111
*.plt
12-
.rebar
1312
*_plt
1413
rebar3.crashdump

NEWS.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
-------------------
5858

5959
- security: update default CA bundle
60-
- fix pool: make checkout synchrounous (remove unwanted messages)
60+
- fix pool: make checkout synchronous (remove unwanted messages)
6161

6262
1.17.4 - 2021-03-18
6363
-------------------
@@ -101,7 +101,7 @@
101101

102102
- pool queue count metric is now named `queue_count`. You should update your dashboard to reflect it.
103103

104-
- possible breacking changes when producing uppercase hexadecimal in urls
104+
- possible breaking changes when producing uppercase hexadecimal in urls
105105

106106
This change the behaviour of urlencode and pathencode to produce
107107
uppercase hexadecimal to comply to the RFC3986 which may affect
@@ -129,7 +129,7 @@ systems using URL as signature or in an hash.
129129
- request: handle Connection: close response header for stteam
130130
- http: handle leading new lines in HTTP messages
131131
- http: handle trailers in persistent connection
132-
- pool: update pool timeout docummentation
132+
- pool: update pool timeout documentation
133133
- url: fix urlencode
134134

135135
1.15.2 - 2019-09-25
@@ -277,7 +277,7 @@ systems using URL as signature or in an hash.
277277

278278
- fix: race condition in controlling process (#407)
279279
- fix: spec of #hackney_url{} (#404)
280-
- fix: make sure to not lost a message during hiberntion in async request
280+
- fix: make sure to not lost a message during hibernation in async request
281281
- security: certifi 1.2.0
282282
- dependency: update idna 5.0.0
283283

@@ -330,7 +330,7 @@ systems using URL as signature or in an hash.
330330
- add: new `socks5_resolver` function
331331
- fix: `hackney_util:merge_opts/2`
332332
- improvements: inet6 support in socks5 sockets
333-
- doc: miscenaleous docs fixes
333+
- doc: miscellaneous docs fixes
334334
- security: being more strict in ssl support
335335
- security: bump to certifi 0.7
336336

@@ -363,7 +363,7 @@ systems using URL as signature or in an hash.
363363
- refactor: one flat source
364364
- replace hackney_metrics_* by [metrics](https://github.com/benoitc/erlang-metrics) library
365365
- fix: hackney_pool (#286)
366-
- security: bump to [erlang-certifi](https//github.com/certifi/erlang-certifi) 0.4.0
366+
- security: bump to [erlang-certifi](https://github.com/certifi/erlang-certifi) 0.4.0
367367

368368
1.4.10 - 2016/02/27
369369
------------------
@@ -423,7 +423,7 @@ systems using URL as signature or in an hash.
423423
- fix `connect_time metric` (#227)
424424
- fix redirection when `with_body` is enabled (#228)
425425
- close half-closed socket to avoid leak (#231)
426-
- fix undexpected message in `hackney_stream` (#223)
426+
- fix unexpected message in `hackney_stream` (#223)
427427
- fix receive/error in hackney_manager (#232)
428428

429429
1.3.1 - 2015/07/28
@@ -449,7 +449,7 @@ systems using URL as signature or in an hash.
449449
- new: updated root certificates
450450
- fix: ignore comma in set-cookie attributes (#193)
451451
- fix: status line parsing when reason phrase is missing entirely (#190)
452-
- fix: make sure sure the response is done during async streaming (#186)
452+
- fix: make sure the response is done during async streaming (#186)
453453
- fix metrics (#186)
454454
- new: bump latest version of `ssl_verify_hostname` (#175)
455455
- fix: parse server headers
@@ -590,8 +590,8 @@ supported release of hackney.
590590
### Breaking change:
591591

592592
When doing an HEAD request, the signature of the response when it
593-
succeeded is now `{ok, Status, ResponseHeaders}` and do not contains a
594-
client reference any more.
593+
succeeded is now `{ok, Status, ResponseHeaders}` and do not contain a
594+
client reference anymore.
595595

596596

597597
0.13.0 - 2014/07/08
@@ -618,7 +618,7 @@ client reference any more.
618618
- improvement: URI encoding is now fully normalized.
619619
- improvement: TCP_NODELAY is now available by default for all transports
620620
- improvements: IDNA parsing is only done during the normalization which
621-
makes all the connections faster..
621+
makes all the connections faster.
622622
- fix: connections options are now correctly passed to the transports.
623623
- fix: HTTP proxying. make sure we reuse the connection
624624
- fix: HTTP proxying, only resolve the proxy domain.
@@ -645,7 +645,7 @@ function `hackney_mimetypes:filename/1` .
645645
- make sure we finish a multipart stream
646646
- bump hackney_lib to 0.2.5
647647
- enable TCP_NODELAY by default. (To disable, pass the option
648-
`{nodelay, false} to `connect_options`.
648+
`{nodelay, false} to `connect_options`).
649649

650650
0.11.1 - 2014/03/03
651651
-------------------
@@ -692,7 +692,7 @@ change fix it.
692692
- All messages from an async response are now under the
693693
format `{hackney_response, Ref, ... }` to distinct hackney messages
694694
from others in a process easily.
695-
- You can only make an async response at a time. Ie if you are are doing
695+
- You can only make an async response at a time. Ie if you are doing
696696
a persistent request (reusing the same reference) you will need to
697697
pass the async option again to the request. For that purpose the
698698
functions hackney:send_request/3 and hackney:setopts/2 have been
@@ -710,9 +710,9 @@ added.
710710

711711
- add support for multipart responses
712712
- add support for cookies: There is now a `cookie`
713-
option that can be passed to the request. It can be a sinle cookie or a
713+
option that can be passed to the request. It can be a single cookie or a
714714
list of cookies. To parse cookies from the response a function `hackney:cookies/1` has
715-
been added. It return all the cookies as a list of [{Key, Value}].
715+
been added. It returns all the cookies as a list of [{Key, Value}].
716716
- breaking change: use [hackney_lib](https://github.com/benoitc/hackney_lib) a web toolkit to handle the HTTP protocol and other manipulations.
717717
- optimization: send body and headers together when it is possible
718718
- fix release handling
@@ -757,7 +757,7 @@ used for async response requests.
757757
use `hackney:close/1` now.
758758
- breaking change: rename `hackney:raw/1` function to
759759
`hackney:cancel_request/1`.
760-
- breaking change: the hakney pool handler based on dispcount is now
760+
- breaking change: the hackney pool handler based on dispcount is now
761761
available in its [own repository](https://github.com/benoitc/hackney_disp) so hackney doe not depends on dispcount.
762762
- fix: canceling and closing a request now make sure the async response
763763
process is killed.
@@ -801,7 +801,7 @@ used for async response requests.
801801
- fix: correct the path passed to a request
802802
- fix: multipart forms
803803
- fix: Make sure that the controller process of the socket is the pool process when the socket is in the pool
804-
- fix: auth header when when the user is not given
804+
- fix: auth header when the user is not given
805805

806806
0.4.4 - 2013/08/25
807807
------------------

NOTICE

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Copyright (c) 2009, Erlang Training and Consulting Ltd.
2020
*) mk-ca-bundle.pl from the curl project. under BSD license
2121
Copyright (C) 1998 - 2014, Daniel Stenberg, <[email protected]>, et al.
2222

23-
*) hackney_trace (C) 2015 under the Erlang Public LicensE
23+
*) hackney_trace (C) 2015 under the Erlang Public License
2424

2525
*) hackney_cidr is based on inet_cidr 1.2.1. vendored for customer purpose.
2626
Copyright (c) 2024, Enki Multimedia , MIT License

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ the request body:
233233
- `{file, Path, Name, ExtraHeaders}` : to send a file with DOM element name and extra headers
234234
- `{Name, Content}`: to send a full part
235235
- `{Name, Content, ExtraHeaders}`: to send a full part
236-
- `{mp_mixed, Name, MixedBoundary}`: To notify we start a part with a
236+
- `{mp_mixed, Name, MixedBoundary}`: To notify we start a part with
237237
a mixed multipart content
238-
- `{mp_mixed_eof, MixedBoundary}`: To notify we end a part with a a
238+
- `{mp_mixed_eof, MixedBoundary}`: To notify we end a part with a
239239
mixed multipart content
240240
- `{file, File}` : To send a file
241241
- Bin: To send a binary or an iolist
@@ -389,7 +389,7 @@ behaviour.
389389

390390
See for example the
391391
[hackney_disp](https://github.com/benoitc/hackney_disp) a load-balanced
392-
Pool dispatcher based on dispcount].
392+
Pool dispatcher based on dispcount.
393393

394394
> Note: for now you can`t force the pool handler / client.
395395

0 commit comments

Comments
 (0)