Skip to content

Commit

Permalink
Update ruby-em-http-request to 1.1.5.
Browse files Browse the repository at this point in the history
* initialize in SNI hostname for HTTPS
* default to requesting compressed response

  This behavior can be disabled via :compressed => false when initializing
  the request.  Closes #270.
* ```cookiejar``` is correct except for ver 0.3.1.
* Fix unused variable warnings
* Add test for basicauth+proxy case
* Don't pass userinfo through to proxies in path position

  When requesting via an HTTP proxy, we put the entire URI in the position
  where usually the path and query string is expected. However, if the
  original URI included a basic auth section, we must not include it, but
  rather convert it to an Authorization header.
* use bing for integration pipelining tests
* Prevent data corruption when decoding gzip stream, fixes #284

  This fixes an issue where a gzip stream chunked into smaller pieces
  would result in a buffer overrun when decoding the headers.

  Previously the position where the headers end in `compressed` was
  determined by the delta of `@pos` before and after reading the
  headers. This didn't take into account the fact that `@data` may already
  contain data, but not enough to have advanced `@pos` on previous
  iterations.

* Prevent data corruption when decoding gzip stream, fixes #284
  • Loading branch information
taca committed Oct 18, 2016
1 parent f379418 commit 5561999
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions www/ruby-em-http-request/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.3 2016/01/03 07:56:35 taca Exp $
# $NetBSD: Makefile,v 1.4 2016/10/18 15:16:13 taca Exp $

DISTNAME= em-http-request-1.1.3
DISTNAME= em-http-request-1.1.5
CATEGORIES= net

MAINTAINER= [email protected]
Expand Down
3 changes: 2 additions & 1 deletion www/ruby-em-http-request/PLIST
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
@comment $NetBSD: PLIST,v 1.3 2016/01/03 07:56:35 taca Exp $
@comment $NetBSD: PLIST,v 1.4 2016/10/18 15:16:13 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gemtest
${GEM_LIBDIR}/.gitignore
${GEM_LIBDIR}/.rspec
${GEM_LIBDIR}/.travis.yml
${GEM_LIBDIR}/Changelog.md
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/README.md
Expand Down
10 changes: 5 additions & 5 deletions www/ruby-em-http-request/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.4 2016/01/03 07:56:35 taca Exp $
$NetBSD: distinfo,v 1.5 2016/10/18 15:16:13 taca Exp $

SHA1 (em-http-request-1.1.3.gem) = 304548b098a6dcc4876643adc0fd918c4fbbb173
RMD160 (em-http-request-1.1.3.gem) = 400b85be85d27b29db78584bdc390c7aad61bad1
SHA512 (em-http-request-1.1.3.gem) = fe4352160bec3877be58a98a8ef8bb7caca5d018531c54d38f748585f3c438949552a086250bbd3b5d35af5ed4aee3e02f143f37688e41c16430a930b0d13c7c
Size (em-http-request-1.1.3.gem) = 219136 bytes
SHA1 (em-http-request-1.1.5.gem) = e23cccc12c28295732a39156ecde8d75c6b3f54f
RMD160 (em-http-request-1.1.5.gem) = 2fbe4f8f6e0043e674c52ffc84febcea102c2466
SHA512 (em-http-request-1.1.5.gem) = cb37582291eb282b8c9386ae1512222856b48a482f1c72da80c40f1d5d6c9a61af949da7e6b7d77d6c45ed9547be2041e147c973676ab6ffc1ea3bfa7ddb35bc
Size (em-http-request-1.1.5.gem) = 219648 bytes

0 comments on commit 5561999

Please sign in to comment.