Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
cf67fb6
replace EGAIN with EWOULDBLOCK - these are same on UNIX but on Window…
noxxi Jan 9, 2015
f366191
fix-net-ssl-1
Apr 29, 2014
9e81d4f
check EAGAIN too where EWOULDBLOCK gets checked (mostly same on UNIX,…
noxxi Jan 27, 2015
c5da807
Fix a typo
tomhukins Feb 24, 2015
e8d75c5
fix for SSL bug (RT#104122)
May 1, 2015
4e9bbb9
ignore new ExtUtils::MakeMaker artifact
karenetheridge May 1, 2015
f72cd31
ignore MYMETA files
karenetheridge May 1, 2015
51f05dd
changelog entry for RT#104122
karenetheridge May 1, 2015
ec736fb
bump all versions to 6.08_001
karenetheridge May 1, 2015
245c64e
mark the 6.08_001 release in the changelog
karenetheridge May 1, 2015
ce9b0b8
use v2 metaspec to specify metadata; add more resources
karenetheridge May 1, 2015
063f84b
doh, how could I have messed up this syntax...
karenetheridge May 2, 2015
fb8a87a
ignore older build directories, more build artifacts
karenetheridge May 2, 2015
4bb6d3b
sort the MANIFEST as ExtUtils::Manifest does
karenetheridge May 2, 2015
4ed4e01
bump version to 6.08_002
karenetheridge May 2, 2015
0896c0c
add a basic MANIFEST.SKIP
karenetheridge May 20, 2015
2f5e482
bump version to 6.09
karenetheridge May 20, 2015
45b4f1a
changelog for 6.09
karenetheridge May 20, 2015
230ce0b
refresh README
karenetheridge May 20, 2015
3264f04
add a README.md for github (but do not ship it)
karenetheridge May 20, 2015
8ce6dbb
Spelling and grammar fixes
scop Jun 24, 2015
46d94f5
create LICENSE
karenetheridge Jun 29, 2015
c36db3b
keep README and README.md refreshed
karenetheridge Jun 29, 2015
4f1208e
clean up build, being more respectful of really old EUMM
karenetheridge Jun 29, 2015
ff71fec
use warnings everywhere, without enabling them globally for everything
karenetheridge Jun 29, 2015
400561d
tighten up entries
karenetheridge Jun 29, 2015
a9788eb
refactor off of Test.pm
karenetheridge Jun 29, 2015
57a0948
remove unneeded uses of "use vars", keepign $SOCKET_CLASS overridable
karenetheridge Jun 29, 2015
86eeb81
use like() instead of is() for regex checking responses
lasse-unity3d Mar 11, 2016
bb40f23
Fix RT#112313 - Hang in my_readline() when keep-alive => 1 and $repon…
lasse-unity3d Mar 11, 2016
31289a3
Add .travis.yml
oalders Jun 30, 2016
4a3d24d
Change the live HTTP(S) tests to use GET at google.com instead of TRA…
Aug 12, 2016
98941ec
Add test to verify fix for RT#112313
lasse-unity3d Dec 29, 2016
67388cd
Convert to dzil.
oalders Nov 9, 2016
efe2af5
Adds IO::Socket::SSL to runtime recommends.
oalders Dec 30, 2016
23cc511
Changes made by dzil.
oalders Dec 30, 2016
2e09a21
gitignore t/LIVE_TESTS.
oalders Dec 30, 2016
11f228f
Remove more boilerplate that dzil manages.
oalders Dec 30, 2016
946201d
Convert Changes to dzil.
oalders Dec 30, 2016
d15878f
Update Changes.
oalders Dec 30, 2016
d87c27a
Bumps version to 6.10
oalders Dec 30, 2016
88122e9
Ignore .build files.
oalders Dec 30, 2016
1b68874
Changes file won't pass dzil tests.
oalders Dec 30, 2016
828345d
v6.10
oalders Dec 30, 2016
a69882e
Ensure Net::SSL has a pending method
genio Jan 3, 2017
35841cd
reformatted the changes file
genio Jan 4, 2017
5bed208
Updates Changes.
oalders Jan 4, 2017
5178583
v6.11
oalders Jan 4, 2017
9c87ea6
Soften prereqs.
oalders Jan 4, 2017
b8f42fb
s/recommends/suggests/
oalders Jan 4, 2017
441540f
v6.12
oalders Jan 5, 2017
8a98c43
Fix small typo in Changes
autarch Feb 16, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
Makefile
Makefile.old
blib
pm_to_blib
/Makefile
.build
/Makefile.old
/blib/
/pm_to_blib
SSL
t/CAN_TALK_TO_OURSELF
t/live/ENABLED
*.tar.gz
xx*
/_eumm/
/MYMETA.*
/MANIFEST.bak
/MANIFEST.SKIP.bak
/Net-HTTP-*/
/Net-HTTP-*.tar.gz
t/LIVE_TESTS
.tidyall.d
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: perl
perl:
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
142 changes: 66 additions & 76 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,76 +1,66 @@
2014-07-23 Net-HTTP 6.07

Jason Fesler (1):
Opportunistically use IO::Socket::IP or IO::Socket::INET6.
Properly parse IPv6 literal addreses with optional port numbers. [RT#75618]

_______________________________________________________________________________
2013-03-10 Net-HTTP 6.06

Jesse Luehrs (1):
IO::Socket::SSL doesn't play well with select() [RT#81237]



_______________________________________________________________________________
2012-11-10 Net-HTTP 6.05

Gisle Aas (1):
Convert to Test::More style and disable test on Windows [RT#81090]

Marinos Yannikos (1):
SSL broken for some servers [RT#81073]



_______________________________________________________________________________
2012-11-08 Net-HTTP 6.04

Gisle Aas (3):
Simpler handling of double chunked [RT#77240]
Check for timeouts before reading [RT#72676]
Fake can_read

Dagfinn Ilmari Mannsåker (1):
Fix chunked decoding on temporary read error [RT#74431]

Eric Wong (1):
NB: set http_bytes if read_entity_body hits EAGAIN on first read

Jay Hannah (1):
chunked,chunked is invalid, but happens. :( Ignore all but the first. [RT#77240]



_______________________________________________________________________________
2012-02-16 Net-HTTP 6.03

Restore blocking override for Net::SSL [RT#72790]

Restore perl-5.6 compatiblity.


_______________________________________________________________________________
2011-11-21 Net-HTTP 6.02

Don't disable blocking method [RT#72580]
Don't stop on unrecognized Makefile.PL arguments [RT#68337]
Document Net:HTTPS [RT#71599]



_______________________________________________________________________________
2011-03-17 Net-HTTP 6.01

Don't run live test by default. Run 'perl Makefile.PL --live-tests' to enable.
More relaxed apache test; should pass even if proxies has added headers.



_______________________________________________________________________________
2011-02-27 Net-HTTP 6.00

Initial release of Net-HTTP as a separate distribution. There are no code
changes besides incrementing the version number since libwww-perl-5.837.

The Net::HTTP module used to be bundled with the libwww-perl distribution.
Release history for {{$dist->name}}

{{$NEXT}}

6.12 2017-01-04 23:32:54-05:00 America/Toronto
- Fix prereqs

6.11 2017-01-04 15:05:57-05:00 America/Toronto
- Updated the Changes file
- When using Net::SSL, pending data was potentially ignored GH PR#7 (Jean-Louis Martineau)

6.10-DEV 2016-12-30
- Added LICENSE
- Added 'use warnings' to everywhere that lacked it
- Drop all use of Test.pm
- Removed unneeded uses of 'use vars'
- Switch live tests to use Google.
- Fix RT#112313 - Hang in my_readline() when keep-alive => 1 and $response_size % 1024 == 0

6.09 2015-05-20
- No changes since 6.08_002

6.08_002 2015-05-02
- Fix foolish $VERSION error in 6.08_001 (Karen Etheridge)

6.08_001 2015-05-01
- resolve issues with SSL by reading bytes still waiting to be read after
the initial 1024 bytes [RT#104122] (Mark Overmeer)

6.07 2014-07-23
- Opportunistically use IO::Socket::IP or IO::Socket::INET6. (Jason Fesler)
- Properly parse IPv6 literal addresses with optional port numbers. [RT#75618]

6.06 2013-03-10
- IO::Socket::SSL doesn't play well with select() [RT#81237] (Jesse Luehrs)

6.05 2012-11-10
- Convert to Test::More style and disable test on Windows [RT#81090] (Gisle Aas)
- SSL broken for some servers [RT#81073] (Marinos Yannikos)

6.04 2012-11-08
- Simpler handling of double chunked [RT#77240] (Gisle Aas)
- Check for timeouts before reading [RT#72676] (Gisle Aas)
- Fake can_read (Gisle Aas)
- Fix chunked decoding on temporary read error [RT#74431] (Dagfinn Ilmari Mannsåker)
- NB: set http_bytes if read_entity_body hits EAGAIN on first read (Eric Wong)
- chunked,chunked is invalid, but happens. Ignore all but the first. [RT#77240] (Jay Hannah)

6.03 2012-02-16
- Restore blocking override for Net::SSL [RT#72790]
- Restore perl-5.6 compatibility.

6.02 2011-11-21
- Don't disable blocking method [RT#72580]
- Don't stop on unrecognized Makefile.PL arguments [RT#68337]
- Document Net:HTTPS [RT#71599]

6.01 2011-03-17
- Don't run live test by default; 'perl Makefile.PL --live-tests' to enable.
- More relaxed apache test; should pass even if proxies has added headers.

6.00 2011-02-27
- Initial release of Net-HTTP as a separate distribution.
- No code changes.
- Version bump to be ahead of old release
- The Net::HTTP module used to be bundled with the libwww-perl distribution.
43 changes: 43 additions & 0 deletions Install
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
This is the Perl distribution Net-HTTP.

Installing Net-HTTP is straightforward.

## Installation with cpanm

If you have cpanm, you only need one line:

% cpanm Net::HTTP

If it does not have permission to install modules to the current perl, cpanm
will automatically set up and install to a local::lib in your home directory.
See the local::lib documentation (https://metacpan.org/pod/local::lib) for
details on enabling it in your environment.

## Installing with the CPAN shell

Alternatively, if your CPAN shell is set up, you should just be able to do:

% cpan Net::HTTP

## Manual installation

As a last resort, you can manually install it. Download the tarball, untar it,
then build it:

% perl Makefile.PL
% make && make test

Then install it:

% make install

If your perl is system-managed, you can create a local::lib in your home
directory to install modules to. For details, see the local::lib documentation:
https://metacpan.org/pod/local::lib

## Documentation

Net-HTTP documentation is available as POD.
You can run perldoc from a shell to read the documentation:

% perldoc Net::HTTP
Loading