[libhijk-perl] branch master updated (5152c1a -> f07c59f)

gregor herrmann gregoa at debian.org
Sun Oct 12 16:42:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a change to branch master
in repository libhijk-perl.

      from  5152c1a   update changelog
       new  7786582   Add debian/upstream/metadata
       new  efaf39b   Update debian/changelog
      adds  7f60624   to begin with... a trivial get() method.
      adds  d71dbf9   be specific about newline
      adds  7d68228   properly handle Content-Length if its there.
      adds  0f8a427   new name!
      adds  6606a00   directly use Socket instead of having to load all the IO::* stacks.
      adds  ccbf967   add simple XS http parser, and try to use it if possible
      adds  65162a9   read partialy until response header end
      adds  195e51b   add "query_string" as a separate argument.
      adds  e41a2d3   split out the part that builds http message for the sake of testing it individually.
      adds  ad15a6b   rework a bit on reading HTTP message
      adds  1e0b790   the "path" should be default to "/" -- just so we do not construct an invalid request.
      adds  4d1ef79   an example program using Hijk and do something similar to curl.
      adds  144c54a   xs: fetch(fd) -> return (status,body,headers_hashref)
      adds  85401fc   Merge branch 'master' of github.com:gugod/Hijk
      adds  f1e5d1a   a few tests for http message generation.
      adds  ceb6b0c   prevent running live tests for non-authors.
      adds  27b5a85   travis-ci config.
      adds  e59eaee   some description.
      adds  08961d1   Description about Hijk::request subroutine.
      adds  0f1843e   Use cpanfile to declare dependencies.
      adds  4bd85c9   setup Makefile.PL
      adds  b6cd675   module prerequisite for travis-ci.
      adds  15165fc   try to deal with cpan auto-config.
      adds  3b19063   ditto
      adds  984ffbf   ditto.
      adds  9732779   add a test for pp_fetch.
      adds  bfbd848   Let pp_fetch returns a 3rd element that is the parsed header hash.
      adds  915b107   save us one variable.
      adds  6578eb4   When Content-Length is bogus we might invoke POSIX::read() to read negative amount of bytes -- be a little bit careful here.
      adds  617da33   setup MANIFEST.SKIP for pure-perl dist.
      adds  21aca11   shipit
      adds  4ffc9ff   switch from recv to read to be consistent with Hijk::pp_fetch, add the parse-http-message.t from Hijk
      adds  42ed8d7   update pod; and use pod2text XS.pm > README
      adds  bc80043   minor pod update/fixes.
      adds  cb74ea0   Add `head` request arg.
      adds  f947278   add -H and -d cli arg like curl.
      adds  495dd6e   should also ignore META.json
      adds  3521c95   some extra steps to simplify the releasing process.
      adds  fe4959e   rename these test files to reflect what it is testing.
      adds  b561154   version bump.
      adds  f9a66bd   add simple benchmark between http::tiny, lwp, hijk::pp and hijk:xs
      adds  86aad68   Merge branch 'master' of github.com:gugod/Hijk
      adds  f75ddd4   Also return the "head" (HTTP header as a hash).
      adds  a4d5f9a   update MANIFEST
      adds  d1e8a2f   update readme
      adds  30688c1   Merge branch 'master' of github.com:gugod/Hijk
      adds  6ffbda3   try testing live with elasticsearch server.
      adds  a10f9ba   so interestingly each item in "env" is exported individually rather then together...
      adds  29062b4   setup coverage report to coveralls.io.
      adds  5b24b6d   take a peek of the auto-initialized cpan config.
      adds  179976b   describe the "head" value of the response.
      adds  a4d370f   prevent invoking the global $SIG{__DIE__} when Hijk::HTTP::XS is not installed.
      adds  4fcb0d6   done peeking the generated config.
      adds  85d0847   prepare a psgi server that takes time to do nothing.
      adds  76ae367   Implement socket read timeout.
      adds  d0ae1ea   Plack, for testing.
      adds  1848f1d   add recv timeout support; and fd_set_blocking helper function
      adds  8cb9fe1   die if select(2) results an error.
      adds  a5ae685   follows the XS implementation
      adds  fba583e   since we parameterized timeout for 'fetch', might as well ditch the global var.
      adds  cd84273   live timeout testing with the local "it-takes-time" server.
      adds  36a27d6   hijk::xs - return the same timeout message as pp_fetch
      adds  c6e5b28   Merge branch 'master' of github.com:gugod/Hijk
      adds  a2a4007   implement socket connect timeout.
      adds  18c3f90   apparently POSIX can already export INPROGRESS
      adds  766225d   bump version and noted the major change.
      adds  53caf4a   Let the 'timeout' value of 'Hijk::request' be in seconds. Since LWP::UserAgent, HTTP::Tiny, Furl, they all use seconds.
      adds  8a71a9a   timestamp
      adds  8a0ed3c   another generic benchmark program using Dumbbench.
      adds  ece2875   dying with $!
      adds  5274031   invalidate connection cache when seeing 'Connection: close' in the response header.
      adds  9436a45   rename this file to indicate that it is using Dumbbench.
      adds  89602f3   various small tweaks.
      adds  da90ea8   releasing 0.05.
      adds  b296ec6   miss the dependency Test::Exception.
      adds  e1a8696   Makefile.PL: Parens for a less sucky error message
      adds  a0af1ca   Lower perl dependency to 5.14.2
      adds  d12ccc7   Document that bodies without Content-Length will be dropped
      adds  fc7c0c8   Nuke boilerplate constant stuff that wasn't even used
      adds  74641d5   t/simple.t: don't run network tests unless NETWORK_TESTS=1
      adds  3865240   t/simple.t: correct perl syntax
      adds  84c9767   xs: add chunked message parsing test
      adds  a8bfd9b   Don't tie using the XS module to whether we can load it
      adds  ec25557   Don't tie using the XS module to whether we can load it (again)
      adds  d32756d   Hijk::HTTP::XS: Get rid of boilerplate
      adds  254c75c   Forgot to patch another autogenerated file in the last commit, just nuke it
      adds  038b177   Remove a stray { from the SYNOPSIS
      adds  e5e718e   Show a POST request in the SYNOPSIS
      adds  e59b21d   hijk::xs - let http_parser_execute handle (read() == 0)
      adds  e6cc05f   shutdown and delete the cached connection in case of read error
      adds  4d918de   handle syswrite() returning undef
      adds  ef55232   hijk: always send timeout to $fetch->()
      adds  39f5bfc   tests: add test for connect with timeout 0 and read with timeout 0
      adds  147fcfa   bench-elasticsearch: use the new fetch => \&Hijk::HTTP::XS::fetch to benchmark; update the results
      adds  5e3a886   add test for empty connection close message without content-length; simple file fetch cmpthese
      adds  74140b1   examples/bench* switch to cmpthese and show some results from my archaic laptop
      adds  7e4a5ff   require Net::Ping 2.41 (for older perl version)
      adds  c49b27a   Release 0.06
      adds  23f04e5   Fix a test bug in 0.06 and release 0.07
      adds  b2d1372   die on forced connection close from the other end
      adds  24d4019   test: add test simulating reading 0 bytes from the stream
      adds  f7916ab   Changelog and version bump for 0.08
      adds  6f5c5e8   xs: die on socket/poll error like pp_fetch()
      adds  0bf77f1   Ditch the 'fetch' option and rework a8bfd9b2efbba9aaa57049efd45a3e0098f1d917
      adds  e132527   Making 0.09 release.
      adds  bda2f1f   instruct travis-ci to run the test twice with/without HIJK_XS
      adds  346ab26   retry.
      adds  8071b49   delete the cached socket in case fetch() dies
      adds  1ff7aa3   Merge branch 'master' of github.com:gugod/Hijk
      adds  cd2705b   minor documentation tweaks
      adds  8554a77   fix broken-brain-modification
      adds  9df81d4   test: xs version throws exception on fetch() now
      adds  e8e5935   one more try on handling die() in fetch()
      adds  2345cfd   dont hide anything within__disconnect()
      adds  ec579a3   Remove v5.14.2 requirement.
      adds  8bd5134   delete previous cover_db before running prove.
      adds  d1fa4c8   retry.
      adds  8065fe1   Create README.md
      adds  9f7b95a   Let the response include timeout errors
      adds  e99a749   update the test to check Hijk::Error::* instead.
      adds  080624c   return read timeout in XS version of `fetch`
      adds  3148fd4   xs: use xpushs instead of pushs
      adds  2732130   Changes: Changes for 0.10 so far
      adds  034e3c4   Turn the errors into a bitfield
      adds  868763d   Remove the Hijk::HTTP::XS module
      adds  5d6453f   Skip ES search unless TEST_ELASTICSEARCH
      adds  cee9526   Micro-optimize: save one op (!)
      adds  00447c2   Solve *all the things*
      adds  a1d37d1   Document the Hijk::Error::* constants
      adds  67aa42a   Implement an on_connect callback
      adds  00918c0   Bump to 0.10
      adds  95643f4   re-enable t/live-elasticsearch.t on travis-ci
      adds  cc6bf6c   fetch: support http servers who buffer lines
      adds  d50aaba   Return the HTTP protocol version, and close the connection if we're 1.0.
      adds  7d1e9da   Add documentation and a comment for the HTTP/1.0 connection closing
      adds  f556ab9   Fix up this bizarro fetch initialization
      adds  0d18919   Consistency in how we pass errors around
      adds  94fa9b8   some documentation updates and editing.
      adds  0fd37cf   remove this self-canceling numerical operation
      adds  b7469f4   Some minor spelling fixes and rewording
      adds  1fcc8ec   Merge pull request #7 from rbastic/master
      adds  297a949   Change the cache_key to something more idiomatic & document it
      adds  0c34363   Solve a stupid bug in 00447c2
      adds  6c9b469   Bump version to 0.11
      adds  1767f16   Fix double negatives in POD
      adds  25359be   Merge pull request #9 from audreyt/patch-3
      adds  5879ab7   Add 'use warnings' to tests that are missing it
      adds  c018eca   Add an error constant for domain resolution failures
      adds  56be7c8   Bump the version to 0.12
      adds  6a0beb8   rename Hijk::fetch to something more meaningful.
      adds  98f7402   typo fixes
      adds  df20d7e   Merge pull request #11 from dsteinbrunner/patch-1
      adds  8ba2ffe   added cpan repository metadata
      adds  599630a   Merge pull request #12 from dsteinbrunner/patch-2
      adds  3bf9485   use non-blocking socket; decrease timeout after io
      adds  b01dbec   use next instead of continue; .. this is what happens after to much cing
      adds  a918284   just use POSIX(:errno_h)
      adds  2484f25   typo fixes
      adds  7c1c31d   Check if we have CLOCK_MONOTONIC at compile-time
      adds  32b0fae   Check if we have CLOCK_MONOTONIC at compile-time (again)
      adds  a651e00   Assigning undef to variables is redundant
      adds  f22526e   remove the statements that requires a monotonic clock.
      adds  643ee5b   disable a few tests if $ENV{http_proxy} is there.
      adds  bf97b34   just wrong, plain wrong.
      adds  6d72c6e   revert the write timeout to be just a connect timeout, like it used to be.
      adds  2e0bf29   Merge branch 'non_blocking'
      adds  df5214c   summerize the change in the non_blocking branch
      adds  15c655c   check for socket errors and set $!
      adds  2d1cd30   put these tests that connects to google.com together
      adds  7439c92   just die on socket errors.
      adds  8078ac3   prepare to release 0.13
      adds  1fd4218   add chunked encoding support; correctly handle no content len header
      adds  5b9d203   dont use goto; add test for no-content-len
      adds  2c0715b   add a Trailer header exception, add a big header test case
      adds  47f7b1d   actually read the trailer data, but ignore it (acceptable per http://tools.ietf.org/html/rfc2616#section-3.6.1)
      adds  5ad3e0e   add live tests against a couchdb server.
      adds  ee1abdd   update perl versions supoorted by travis-ci.
      adds  0da4462   test faster.
      adds  d432ee6   Merge branch 'master' into chunked_and_no_content_len
      adds  7c40aca   minor touch to avoid autovivification
      adds  e5d6604   Revert "minor touch to avoid autovivification"
      adds  ecf6693   running benchmarks on chunked response.
      adds  7154ed6   bump version
      adds  858930b   request sub: use eval idiom that doesn't require so much brainpower
      adds  9b83aa5   Just stick a thing that fits easily on one line on one line
      adds  1c97ef1   Rearrange the arguments of read_http_message()
      adds  5475724   FFS, fix syntax error in 1c97ef1
      adds  258e2d7   Fix a bad bug in the chunked encoding and disable it by default
      adds  4704d8f   Bump the version to 0.15
      adds  d055106   Just stick a thing that fits easily on one line on one line (again)
      adds  e3a7887   Extend the error constants to cover read & select errors
      adds  4a2d0c4   Copyedit the docs, mention what this library is for etc.
      adds  7a895dc   Split up the start of _read_http_message()
      adds  972c2f2   Add ability to return the headers as an array, resolves issue #17
      adds  235a0f3   Make the read_length option configurable
      adds  bb0ddb5   Tests: Fix duplicate my variables
      adds  9311ae6   Bump the version to 0.16
      adds  2ddb3b9   Edit the docs some more
      adds  e763c7c   Bump version to 0.17
      adds  6069c0c   Imported Upstream version 0.17
       new  f932db4   Merge tag 'upstream/0.17'
       new  ba2138d   Update debian/changelog
       new  21c943f   Update information about files in inc/ in debian/copyright.
       new  b027260   Declare compliance with Debian Policy 3.9.6.
       new  5dab6a7   cme: reformat debian/control
       new  8750007   Drop version from perl build dependency.
       new  f07c59f   releasing package libhijk-perl version 0.17-1

The 9 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Changes                                            |  45 ++
 MANIFEST                                           |  12 +-
 META.json                                          |   9 +-
 META.yml                                           |   7 +-
 cpanfile                                           |   1 +
 debian/changelog                                   |  15 +-
 debian/control                                     |  13 +-
 debian/copyright                                   |  12 +-
 debian/upstream/metadata                           |   5 +
 examples/bench-chunked-response.pl                 |  29 ++
 inc/Module/CPANfile.pm                             |  72 ++-
 inc/Module/CPANfile/Environment.pm                 | 139 +++++-
 inc/Module/CPANfile/Prereq.pm                      |  22 +
 inc/Module/CPANfile/Prereqs.pm                     | 118 +++++
 inc/Module/CPANfile/Requirement.pm                 |  26 ++
 inc/Module/CPANfile/Result.pm                      |  94 ----
 inc/Module/Install.pm                              |   4 +-
 inc/Module/Install/Base.pm                         |   2 +-
 inc/Module/Install/Can.pm                          |  85 +---
 inc/Module/Install/Fetch.pm                        |   2 +-
 inc/Module/Install/Makefile.pm                     |  22 +-
 inc/Module/Install/Metadata.pm                     |   2 +-
 inc/Module/Install/Win32.pm                        |   2 +-
 inc/Module/Install/WriteAll.pm                     |   2 +-
 lib/Hijk.pm                                        | 497 ++++++++++++++++-----
 t/bin/split-in-chunks.psgi                         |  35 ++
 t/build_http_message.t                             |  20 +-
 t/chunked-trailer-head-as-array.t                  |  56 +++
 t/chunked-trailer.t                                |  56 +++
 ...e-http-connection-close-message.t => chunked.t} |  26 +-
 t/live-couchdb.t                                   |  67 +++
 t/parse-http-connection-close-message.t            |   9 +-
 ...essage.t => parse-http-message-head-as-array.t} |  10 +-
 t/parse-http-message.t                             |   4 +-
 ...ssage.t => parse-http-no-content-len-message.t} |  14 +-
 35 files changed, 1121 insertions(+), 413 deletions(-)
 create mode 100644 debian/upstream/metadata
 create mode 100644 examples/bench-chunked-response.pl
 create mode 100644 inc/Module/CPANfile/Prereq.pm
 create mode 100644 inc/Module/CPANfile/Prereqs.pm
 create mode 100644 inc/Module/CPANfile/Requirement.pm
 delete mode 100644 inc/Module/CPANfile/Result.pm
 create mode 100644 t/bin/split-in-chunks.psgi
 create mode 100644 t/chunked-trailer-head-as-array.t
 create mode 100644 t/chunked-trailer.t
 copy t/{parse-http-connection-close-message.t => chunked.t} (51%)
 create mode 100644 t/live-couchdb.t
 copy t/{parse-http-message.t => parse-http-message-head-as-array.t} (87%)
 copy t/{parse-http-connection-close-message.t => parse-http-no-content-len-message.t} (73%)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhijk-perl.git



More information about the Pkg-perl-cvs-commits mailing list