You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

365 lines
17 KiB

пре 9 година
пре 9 година
пре 9 година
пре 9 година
пре 9 година
пре 9 година
пре 10 година
пре 11 година
пре 12 година
пре 13 година
пре 13 година
  1. CONTRIBUTIONS & CHANGE HISTORY
  2. ==============================
  3. 23-08-2018 - v4.4.1
  4. * Fixes to TLS socket handling (PR#163)
  5. * Fix ipv6 address family handling (PR#155)
  6. * Don't send messages to closed/inactive connections (PR#152)
  7. 28-01-2017 - v4.4
  8. * Fixes to SOCKS over SSL processing
  9. * Added stream_full_chunks option
  10. * Merged pull requests 145, 151
  11. 07-06-2016 - v4.3
  12. * Adopted erlang.mk for compiling. I find it easier to understand
  13. how 'make' behaves compared to rebar. This repo can still be built
  14. using rebar for those who prefer it
  15. * Removed references to lager. Introduced configurable logging function
  16. * Fixed an issue where the calling process was getting an extra
  17. spurious timeout message when the request was timing out
  18. 19-04-2016 - v4.2.4
  19. * Fixed travis-ci build as it was failing in running tests.
  20. No code changes to ibrowse
  21. 19-04-2016 - v4.2.3
  22. * Fix for https://github.com/cmullaparthi/ibrowse/issues/143
  23. * Fix for https://github.com/cmullaparthi/ibrowse/issues/142
  24. * Fix for https://github.com/cmullaparthi/ibrowse/issues/139
  25. * Fixed behaviour of option preserve_status_line
  26. 25-11-2015 - v4.2.2
  27. * Fix to ibrowse.app.src to enable publishing using Hex
  28. 25-11-2015 - v4.2.1
  29. * Merged pull request https://github.com/cmullaparthi/ibrowse/pull/132
  30. * Merged pull request https://github.com/cmullaparthi/ibrowse/pull/137
  31. 28-09-2015 - v4.2
  32. * Merged long pending improvements to pipelining
  33. https://github.com/cmullaparthi/ibrowse/pull/123
  34. * Merged pull request https://github.com/cmullaparthi/ibrowse/pull/131
  35. 03-08-2015 - v4.1.2
  36. * R18 compatibility fix
  37. https://github.com/cmullaparthi/ibrowse/issues/129
  38. * Add max_attempts option
  39. https://github.com/cmullaparthi/ibrowse/pull/125
  40. * Fix for https://github.com/cmullaparthi/ibrowse/pull/120
  41. * Enhanced SOCKS5 support
  42. https://github.com/cmullaparthi/ibrowse/pull/117
  43. 10-07-2014 - v4.1.1
  44. * Added support for accepting binaries as header names
  45. * Fix for https://github.com/cmullaparthi/ibrowse/issues/110
  46. * Fix for https://github.com/cmullaparthi/ibrowse/issues/111
  47. * Fix for https://github.com/cmullaparthi/ibrowse/issues/112
  48. 18-04-2013 - v4.1.0
  49. * Fix for https://github.com/cmullaparthi/ibrowse/issues/101
  50. * Support for https://github.com/cmullaparthi/ibrowse/issues/90
  51. * Fix for https://github.com/cmullaparthi/ibrowse/issues/86
  52. * Merged various contributions. Please see commit history for details
  53. * Introduced the return_raw_request option
  54. 09-04-2013 - v4.0.2
  55. * Tagging master with new version to cover changes
  56. contributed over the past few months via various pull requests
  57. 07-08-2012 - v4.0.1
  58. * Fix issue 67 properly.
  59. 03-08-2012 - v4.0.0
  60. * Fixed a regression in handling HEAD.
  61. https://github.com/cmullaparthi/ibrowse/issues/67
  62. * Fixed a bug in handling SSL requests through a proxy
  63. 06-04-2012 - v3.0.4
  64. * Fix for the following issue
  65. https://github.com/cmullaparthi/ibrowse/issues/67
  66. 13-03-2012 - v3.0.3
  67. * Fixes the following issues
  68. https://github.com/cmullaparthi/ibrowse/issues/64
  69. https://github.com/cmullaparthi/ibrowse/issues/63
  70. https://github.com/cmullaparthi/ibrowse/issues/62
  71. 31-01-2012 - v3.0.2
  72. * Fixed bug when stopping ibrowse. Not service affecting.
  73. 23-01-2012 - v3.0.1
  74. * Fixed bug highlighted by Dialyzer
  75. 23-01-2012 - v3.0.0
  76. * Change to the way pipelining works.
  77. * Fixed various issues reported
  78. 13-04-2011 - v2.2.0
  79. * Filipe David Manana added IPv6 support. This is a mjor new
  80. feature, Thank you Filipe!
  81. * Joseph Wayne Norton contributed tweaks to .gitignore
  82. 09-02-2011 - v2.1.4
  83. * Fixed a bug reported by Ryan Zezeski with the
  84. save_response_to_file option.
  85. https://github.com/cmullaparthi/ibrowse/issues#issue/33
  86. 16-01-2011 - v2.1.3
  87. * Fixed issues with streaming and chunked responses when using
  88. the 'caller controls socket' feature. See following links for
  89. details. Contributed by Filipe David Manana.
  90. https://github.com/cmullaparthi/ibrowse/pull/24
  91. https://github.com/cmullaparthi/ibrowse/pull/25
  92. https://github.com/cmullaparthi/ibrowse/pull/27
  93. https://github.com/cmullaparthi/ibrowse/pull/28
  94. https://github.com/cmullaparthi/ibrowse/pull/29
  95. * Fix for issue 32 reported by fholzhauser
  96. https://github.com/cmullaparthi/ibrowse/issues#issue/32
  97. * Fixed some dialyzer warnings. Thanks to Kostis for reporting
  98. them.
  99. 20-12-2010 - v2.1.2
  100. * Pipelining wasn't working when used in conjunction with the
  101. {stream_to, {self(), once}} option. Bug report by
  102. Filipe David Manana.
  103. 10-12-2010 - v2.1.1
  104. * Fix for https://github.com/cmullaparthi/ibrowse/issues/issue/20
  105. by Filipe David Manana
  106. * Fix for https://github.com/cmullaparthi/ibrowse/issues/issue/21
  107. by Filipe David Manana
  108. * Fix for https://github.com/cmullaparthi/ibrowse/issues/issue/23
  109. by Filipe David Manana
  110. * Fix for bugs when using SSL by Jo?o Lopes
  111. 25-10-2010 - v2.1.0
  112. * Fixed build on OpenSolaris. Bug report and patch from
  113. tholschuh.
  114. http://github.com/cmullaparthi/ibrowse/issues/issue/10
  115. * Fixed behaviour of inactivity_timeout option. Reported by
  116. Jo?o Lopes.
  117. http://github.com/cmullaparthi/ibrowse/issues/issue/11
  118. * Prevent atom table pollution when bogus URLs are input to
  119. ibrowse. Bug report by Jo?o Lopes.
  120. http://github.com/cmullaparthi/ibrowse/issues/issue/13
  121. * Automatically do Chunked-Transfer encoding of request body
  122. when the body is generated by a fun. Patch provided by
  123. Filipe David Manana.
  124. http://github.com/cmullaparthi/ibrowse/issues/issue/14
  125. * Depending on input options, ibrowse sometimes included multiple
  126. Content-Length headers. Bug reported by Paul J. Davis
  127. http://github.com/cmullaparthi/ibrowse/issues/issue/15
  128. * Deal with webservers which do not provide a Reason-Phrase on the
  129. response Status-Line. Patch provided by Jeroen Koops.
  130. http://github.com/cmullaparthi/ibrowse/issues/issue/16
  131. * Fixed http://github.com/cmullaparthi/ibrowse/issues/issue/17
  132. This was reported by Filipe David Manana.
  133. * Fixed http://github.com/cmullaparthi/ibrowse/issues/issue/19
  134. This was reported by Dan Kelley and Filipe David Manana.
  135. * Added ibrowse:stream_close/1 to close the connection
  136. associated with a certain response stream. Patch provided by
  137. Jo?o Lopes.
  138. * Prevent port number being included in the Host header when port
  139. 443 is intended. Bug reported by Andrew Tunnell-Jones
  140. 24-09-2010 - v2.0.1
  141. * Removed a spurious io:format statement
  142. 22-09-2010 - v2.0.0.
  143. * Added option preserve_chunked_encoding. This allows the
  144. caller to get the raw HTTP response when the
  145. Transfer-Encoding is Chunked. This feature was requested
  146. by Benoit Chesneau who wanted to write a HTTP proxy using
  147. ibrowse.
  148. * Fixed bug with the {stream_to, {Pid, once}} option. Bug
  149. report and lot of help from Filipe David Manana. Thank
  150. you Filipe.
  151. * The {error, conn_failed} and {error, send_failed} return
  152. values are now of the form {error, {conn_failed, Err}}
  153. and {error, {send_failed, Err}}. This is so that the
  154. specific socket error can be returned to the caller. I
  155. think it looks a bit ugly, but that is the best
  156. compromise I could come up with.
  157. * Added application configuration parameters
  158. default_max_sessions and default_max_pipeline_size. These
  159. were previously hard coded to 10.
  160. * Versioning of ibrowse now follows the Semantic Versioning
  161. principles. See http://semver.org. Thanks to Anthony
  162. Molinaro for nudging me in this direction.
  163. * The connect_timeout option now only applies to the
  164. connection setup phase. In previous versions, the time
  165. taken to setup the connection was deducted from the
  166. specified timeout value for the request.
  167. 17-07-2010 - * Merged change made by Filipe David Manana to use the base64
  168. module for encoding/decoding.
  169. 11-06-2010 - * Removed use of deprecated concat_binary. Patch supplied by
  170. Steve Vinoski
  171. 10-06-2010 - * Fixed bug in https requests not going via the proxy
  172. 12-05-2010 - * Added support for the CONNECT method to tunnel HTTPS through
  173. a proxy. When a https URL is requested through a proxy,
  174. ibrowse will automatically use the CONNECT method to first
  175. setup a tunnel through the proxy. Once this succeeds, the
  176. actual request is dispatched. Successfully tested with the
  177. new SSL implementation in R13B-03
  178. * Added SSL support for direct connections.
  179. See ibrowse:spawn_worker_process/1 and
  180. ibrowse:spawn_link_worker_process/1
  181. * Added option to return raw status line and raw unparsed headers
  182. 23-04-2010 - * Fixes to URL parsing by Karol Skocik
  183. 08-11-2009 - * Added option headers_as_is
  184. 04-10-2009 - * Patch from Kostis Sagonas to cleanup some code and suppress
  185. dialyzer warnings
  186. 24-09-2009 - * When a filename was supplied with the 'save_response_to_file'
  187. option, the option was being ignored. Bug report from
  188. Adam Kocoloski
  189. 05-09-2009 - * Introduced option to allow caller to set socket options.
  190. 29-07-2009 - * The ETS table created for load balancing of requests was not
  191. being deleted which led to the node not being able to create
  192. any more ETS tables if queries were made to many number of
  193. webservers. ibrowse now deletes the ETS table it creates once the
  194. last connection to a webserver is dropped.
  195. Reported by Seth Falcon.
  196. * Spurious data being returned at end of body in certain cases of
  197. chunked encoded responses from the server.
  198. Reported by Chris Newcombe.
  199. 03-07-2009 - Added option {stream_to, {Pid, once}} which allows the caller
  200. to control when it wants to receive more data. If this option
  201. is used, the call ibrowse:stream_next(Req_id) should be used
  202. to get more data.
  203. * Patch submitted by Steve Vinoski to remove compiler warnings
  204. about the use of obsolete guards
  205. 29-06-2009 - * Fixed following issues reported by Oscar Hellstr?m
  206. * Use {active, once} instead of {active, true}
  207. * Fix 'dodgy' timeout handling
  208. * Use binaries internally instead of lists to reduce memory
  209. consumption on 64 bit platforms. The default response format
  210. is still 'list' to maintain backwards compatibility. Use the
  211. option {response_format, binary} to get responses as binaries.
  212. * Fixed chunking bug (reported by Adam Kocoloski)
  213. * Added new option {inactivity_timeout, Milliseconds} to timeout
  214. requests if no data is received on the link for the specified
  215. interval. Useful when responses are large and links are flaky.
  216. * Added ibrowse:all_trace_off/0 to turn off all tracing
  217. * Change to the way responses to asynchronous requests are
  218. returned. The following messages have been removed.
  219. * {ibrowse_async_response, Req_id, {chunk_start, Chunk_size}}
  220. * {ibrowse_async_response, Req_id, chunk_end}
  221. * Fixed Makefiles as part of Debian packaging
  222. (thanks to Thomas Lindgren)
  223. * Moved repository from Sourceforge to Github
  224. 11-06-2009 - * Added option to control size of streamed chunks. Also added
  225. option for the client to receive responses in binary format.
  226. 21-05-2008 - * Fixed bug in reading some options from the ibrowse.conf file.
  227. Reported by Erik Reitsma on the erlyaws mailing list
  228. * Fixed bug when cleaning up closing connections
  229. 27-03-2008 - * Major rewrite of the load balancing feature. Additional module,
  230. ibrowse_lb.erl, introduced to achieve this.
  231. * Can now get a handle to a connection process which is not part of
  232. the load balancing pool. Useful when an application is making
  233. requests to a webserver which are time consuming (such as
  234. uploading a large file). Such requests can be put on a separate
  235. connection, and all other smaller/quicker requests can use the
  236. load balancing pool. See ibrowse:spawn_worker_process/2 and
  237. ibrowse:spawn_link_worker_process/2
  238. * Ram Krishnan sent a patch to enable a client to send a lot of
  239. data in a request by providing a fun which is invoked by the
  240. connection handling process. This fun can fetch the data from
  241. any where. This is useful when trying to upload a large file
  242. to a webserver.
  243. * Use the TCP_NODELAY option on every socket by default
  244. * Rudimentary support for load testing of ibrowse. Undocumented,
  245. but see ibrowse_test:load_test/3. Use the source, Luke!
  246. * New function ibrowse:show_dest_status/2 to view state of
  247. connections/pipelines to a web server
  248. 20-02-2008 - Ram Krishnan sent another patch for another hidden bug in the
  249. save_response_to_file feature.
  250. 07-02-2008 - Ram Krishnan (kriyative _at_ gmail dot com) sent a simple patch to
  251. enable specifying the filename in the save_response_to_file option.
  252. When testing the patch, I realised that my original implementation
  253. of this feature was quite flaky and a lot of corner cases were
  254. not covered. Fixed all of them. Thanks Ram!
  255. 17-10-2007 - Matthew Reilly (matthew dot reilly _at_ sipphone dot com)
  256. sent a bug report and a fix. If the chunk trailer spans two TCP
  257. packets, then ibrowse fails to recognise that the chunked transfer
  258. has ended.
  259. 29-08-2007 - Bug report by Peter Kristensen(ptx _at_ daimi dot au dot dk).
  260. ibrowse crashes when the webserver returns just the Status line
  261. and nothing else.
  262. 28-06-2007 - Added host_header option to enable connection to secure sites
  263. via stunnel
  264. 20-04-2007 - Geoff Cant sent a patch to remove URL encoding for digits in
  265. ibrowse_lib:url_encode/1.
  266. ibrowse had a dependency on the inets application because the
  267. ibrowse_http_client.erl invoked httpd_util:encode_base64/1. This
  268. dependency is now removed and the encode_base64/1 has been
  269. implemented in ibrowse_lib.erl
  270. 06-03-2007 - Eric Merritt sent a patch to support WebDAV requests.
  271. 12-01-2007 - Derek Upham sent in a bug fix. The reset_state function was not
  272. behaving correctly when the transfer encoding was not chunked.
  273. 13-11-2006 - Youn?s Hafri reported a bug where ibrowse was not returning the
  274. temporary filename when the server was closing the connection
  275. after sending the data (as in HTTP/1.0).
  276. Released ibrowse under the BSD license
  277. 12-10-2006 - Chris Newcombe reported bug in dealing with requests where no
  278. body is expected in the response. The first request would succeed
  279. and the next request would hang.
  280. 24-May-2006 - Sean Hinde reported a bug. Async responses with pipelining was
  281. returning the wrong result.
  282. 08-Dec-2005 - Richard Cameron (camster@citeulike.org). Patch to ibrowse to
  283. prevent port number being included in the Host header when port
  284. 80 is intended.
  285. 22-Nov-2005 - Added ability to generate requests using the Chunked
  286. Transfer-Encoding.
  287. 08-May-2005 - Youn?s Hafri made a CRUX LINUX port of ibrowse.
  288. http://yhafri.club.fr/crux/index.html