./www/p5-Hijk, Hijk - Fast & minimal low-level HTTP client

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.27nb1, Package name: p5-Hijk-0.27nb1, Maintainer: pkgsrc-users

Hijk is a fast & minimal low-level HTTP client intended to be used
where you control both the client and the server, e.g. for talking to
some internal service from a frontend user-facing web application.

It is NOT a general HTTP user agent, it doesn't support redirects,
proxies, SSL and any number of other advanced HTTP features like (in
roughly descending order of feature completeness) LWP::UserAgent,
WWW::Curl, HTTP::Tiny, HTTP::Lite or Furl. This library is basically
one step above manually talking HTTP over sockets.

Having said that it's lightning fast and extensively used in
production at Booking.com where it's used as the go-to transport layer
for talking to internal services. It uses non-blocking sockets and
correctly handles all combinations of connect/read timeouts and other
issues you might encounter from various combinations of parts of your
system going down or becoming otherwise unavailable.


Required to run:
[lang/perl5]

Required to build:
[www/p5-URI] [time/p5-Time-HiRes] [devel/p5-Test-Exception] [pkgtools/cwrappers]

Master sites:

SHA1: b1b06db881e2bf39a5e20243b282e61a783d06da
RMD160: 52442411871361fceb9a937cd5493526213c979f
Filesize: 43.208 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-07 16:51:18 by Ryo ONODERA | Files touched by this commit (12)
Log message:
Fix build with Perl 5.26.0
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2017-01-24 02:38:31 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.27

Upstream changes:
0.27: # 2016-10-28T12:59:00+0100

- Unbreak with Elasticeasrch 5.0. See \ 
https://rt.cpan.org/Public/Bug/Display.html?id=118425
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2016-01-30 04:39:01 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Update 0.24 to 0.26
-------------------
0.26: # 2015-11-25T12:30:00+0100
- No functional changes since 0.25, but we had some Travis-specific
  changes in the repo, releasing just so we have the latest code there
  on the CPAN.

0.25: # 2015-11-25T12:20:00+0100
- Make the t/select-timeout.t test which fails on various odd
  CPANtesters platforms a TODO. Maybe some OS-specific issue, maybe an
  issue with kill() in the CPANtesters sandboxes not behaving as we
  expect.
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-04 15:16:15 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
Add following line for make test
  BUILD_DEPENDS+=        p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes
(But still fails at signal handling at pbulk)
   2015-08-06 11:12:20 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update to 0.24.

0.24: # 2015-07-05T13:40:00+0200

- Minor copyediting and formatting changes to the documentation. No
  code changes at all.

0.23: # 2015-07-03T17:00:00+0200

- The "Host" header can now be overriden by supplying a new
  `no_default_host_header` option along with a `Host` header in `head
  => []` to request().

  Before this we'd always send "Host: $host" over, where $host was the
  host we were connecting to, now you can customize this.

- Fixed a bug where if passed passed `head => []` to request() we'd
  emit a ":" header, i.e. just an empty header name with an empty
  value.

  You could have just not passed the `head => ` value if the array was
  empty, but no we won't screw up and emit a single line consisting of
  ":" if given an empty array.

0.22: # 2015-05-27T07:54:17+0200

- No feature change. Re-package due to a missing file in the tarball:
  https://rt.cpan.org/Ticket/Display.html?id=104624

0.21: # 2015-05-22T15:26:23+0200

- Fix "Too many CRLF" issue. Hijk has been always generating HTTP
  request with an extra CRLF at the end. While many HTTP servers are
  ignoring those, some treat it as errors. We now eliminate the extra
  CRLF at the end of every request.
  See also http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html

- Handle better when select() is interrupted by signals.