Skip to content
Newer
Older
100644 37 lines (32 sloc) 1.85 KB
8e49e7b @oscarh Add changelog
oscarh authored
1 Version 1.2.0:
2 * Add support for options
3 * {connect_timeout, Milliseconds}: Aborts the connect phase after Milliseconds
4 * {send_retry, N}: The client will retry sending the request N times if the connection is closed
0ca83cc @oscarh Update changelog
oscarh authored
5 * Add support for downloading chunked transfer encoding
8e49e7b @oscarh Add changelog
oscarh authored
6 * More consistent error handling
7 * The client can either return {ok, Result} or {error, Reason}. Reason wasn't very well defined before
8 * connection_closed: The server closed the connection on us (N times in case it happens just after sending the request)
9 * connect_timeout: If the TCP stack gives up or we hit the connect_timeout option
10 * timeout: If the overall request timeout value is hit
11 * All other errors (socket, protocol etc. will result in a runtime error)
0ca83cc @oscarh Update changelog
oscarh authored
12 * Better connection handling (issues #2 and #3 on bitbucket.org/etc/lhttpc)
13 * Now understands what to do with connections to servers < HTTP/1.1
14 * Now respects "Connection: close" in request headers, which means
15 clients can choose to not use persistent connections
9d2bf54 @oscarh Add transfser encoding fix to changelog.
oscarh authored
16 * RFC Compliance
17 * Fix reading of chunked encoding since section 3.6 claims that "All transfer-coding values are case-insensitive"
f44e584 @oscarh Update changelog
oscarh authored
18 * Support for responses that doesn't have an entity body
19 * No body for the HEAD and OPTIONS (unless indicated for the latter) methods
20 * Don't try to read a body when receiving a 204 status
8e49e7b @oscarh Add changelog
oscarh authored
21
22 Version 1.1.2:
23 * Fix minor error with {active, once} instead of {active, true} in manager
24 * Remove socket and try to find another if the manager can't set controlling process due to socket error
25 * Improve test suite
26
27 Version 1.1.1:
28 * Fix problem with empty lists in dicts when last socket is consumed
29 * Improve test suite to include cover report
30
31 Version 1.1.0:
32 * Support for configurable connection timeout
33
34 Version 1.0.0:
35 * Initial version
36 * Persistent connections have hardcoded timeout
Something went wrong with that request. Please try again.