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.

355 lines
16 KiB

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