Skip to content

Commit 32c8c34

Browse files
youxkeibenoitc
authored andcommitted
Clarify what recv_timeout means (#555) (#592)
1 parent 889c106 commit 32c8c34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/hackney.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ By default is equal to connect_timeout
362362
establishing a connection, in milliseconds. Default is 8000
363363

364364
* `{recv_timeout, infinity | integer()}`: timeout used when
365-
receiving a connection. Default is 5000
365+
receiving data over a connection. Default is 5000
366366

367367

368368
<blockquote>Note: if the response is async, only

src/hackney.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ request(Method, URL, Headers, Body) ->
245245
%% <li>`{connect_timeout, infinity | integer()}': timeout used when
246246
%% establishing a connection, in milliseconds. Default is 8000</li>
247247
%% <li>`{recv_timeout, infinity | integer()}': timeout used when
248-
%% receiving a connection. Default is 5000</li>
248+
%% receiving data over a connection. Default is 5000</li>
249249
%% </ul>
250250
%%
251251
%% <blockquote>Note: if the response is async, only

0 commit comments

Comments
 (0)