jgit/org.eclipse.jgit.http.test
Shawn Pearce 07fdc50c07 Fix bad test fix from 0bff481 "Limit receive commands"
In 0bff481d45 to accurately use the two
limits it was necessary to move the LimitedInputStream out of the
PacketLineIn and further down to the PackParser. Unfortuantely this
didn't survive review, as a buggy test failed and the "fix" was to
drop this part of the code.

The maxPackSizeLimit should apply to the pack stream, not the pkt-line
framing used to send commands to control the ReceivePack instance. The
commands are controlled using a different limit. The failing test allowed
too many bytes in the pack and was only failing because it was including
the command framing. The correct fix for the test was simply to drop the
limit lower, to more closely match the actual pack size.

Change-Id: I47d3885b9d7d527e153df7ac9c62fc2865ceecf4
2017-02-20 10:51:27 -08:00
..
.settings Enable and fix 'Should be tagged with @Override' warning 2017-02-19 20:05:08 -04:00
META-INF Prepare 4.7.0-SNAPSHOT builds 2016-12-27 01:45:50 +01:00
src/org/eclipse/jgit/http/test Fix RefsUnreadableInMemoryRepository 2016-04-16 15:59:31 +02:00
tst/org/eclipse/jgit/http Fix bad test fix from 0bff481 "Limit receive commands" 2017-02-20 10:51:27 -08:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.gitignore Make HTTP test project work in Eclipse 2010-01-23 11:29:25 -08:00
.project Enforce the use of Java5 API:s only (with a few exceptions) 2011-12-16 01:01:36 +01:00
BUCK Upgrade buck to 7b7817c48f30687781040b2b82ac9218d5c4eaa4 2016-10-18 01:06:28 +02:00
build.properties Add path src/ to source path in build.properties 2016-08-06 19:12:06 -04:00
org.eclipse.jgit.http--All-Tests.launch Add the other test launchers as favorites 2013-06-16 23:33:29 +02:00
plugin.properties Fix plugin provider names to conform with release train requirement 2013-04-08 23:05:36 +02:00
pom.xml Prepare 4.7.0-SNAPSHOT builds 2016-12-27 01:45:50 +01:00