jgit/org.eclipse.jgit
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 Add LfsPointerFilter TreeFilter 2017-01-10 00:13:24 +01:00
findBugs [findBugs] Silence warning about Transport initialization 2012-09-14 00:01:47 +02:00
resources/org/eclipse/jgit Limit receive commands 2017-02-11 00:20:36 +01:00
src/org/eclipse/jgit 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
.fbprefs Initial JGit contribution to eclipse.org 2009-09-29 16:47:03 -07:00
.gitignore Finish removing Apache Felix maven-bundle-plugin 2010-01-12 11:46:55 -08:00
.project Revert "Hide Maven target directories from Eclipse" 2010-08-28 09:50:50 +02:00
BUCK Get rid of javax.servlet API dependency for core org.eclipse.jgit 2017-01-03 18:50:55 +01:00
BUILD Update name of InsecureCipherMode error-prone pattern 2017-02-15 16:01:42 -08:00
about.html Add missing about.html files to all shipped bundles 2011-06-08 21:51:51 +02:00
build.properties Add "resources/" as a source folder 2010-06-05 14:39:27 +02:00
plugin.properties Remove incubation marker 2011-05-31 22:53:53 +02:00
pom.xml Get rid of javax.servlet API dependency for core org.eclipse.jgit 2017-01-03 18:50:55 +01:00