--- - branch: MAIN date: Fri Jun 3 01:44:40 UTC 2011 files: - new: '1.5' old: '1.4' path: pkgsrc/www/ruby-httpclient/Makefile pathrev: pkgsrc/www/ruby-httpclient/Makefile@1.5 type: modified - new: '1.5' old: '1.4' path: pkgsrc/www/ruby-httpclient/distinfo pathrev: pkgsrc/www/ruby-httpclient/distinfo@1.5 type: modified - new: '1.3' old: '1.2' path: pkgsrc/www/ruby-httpclient/PLIST pathrev: pkgsrc/www/ruby-httpclient/PLIST@1.3 type: modified id: 20110603T014440Z.4fb5778183150bb5f3efe52bb5e2dbf37790864c log: | Update ruby-httpclient to 2.2.1. == Changes = Changes in 2.2.1 = Jun 2, 2011 - version 2.2.1 * Bug fixes * For Lighttpd + PUT/POST support, do not send a request using chunked encoding when IO respond to :size, File for example. - There is no need to send query with Transfer-Encoding: chuncked when IO respond to :size. - Lighttpd does not support PUT, POST with Transfer-Encoding: chuncked. You will see that the lighty respond with 200 OK, but there is a file whose size is zero. LIMITATION: timeout occurs certainly when you send very large file and @send_timeout is default since HTTPClient::Session#query() assumes that *all* write are finished in @send_timeout sec not each write. WORKAROUND: increment @send_timeout and @receive_timeout or set @send_timeout and @receive_timeout to 0 not to be timeout. This fix is by TANABE Ken-ichi . Thanks! * Allow empty http_proxy ENV variable. Just treat it the same as if it's nil/unset. This fix is by Ash Berlin . Thanks! * Check EOF while reading chunked response and close the session. It raised NoMethodError. * Changes * Updated trusted CA certificates file (cacert.p7s and cacert_sha1.p7s). CA certs are imported from 'Java(TM) SE Runtime Environment (build 1.6.0_25-b06)'. * Changed default chunk size from 4K to 16K. It's used for reading size at a time. module: pkgsrc subject: 'CVS commit: pkgsrc/www/ruby-httpclient' unixtime: '1307065480' user: obache