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.

315 line
15 KiB

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