I added a mode where one can launch a child process without the built-in pumping support, making it trivial to read until EOF in the distributed environments.
This concludes the fix.
java.lang.NegativeArraySizeException
at hudson.remoting.ProxyOutputStream$Chunk.<init>(ProxyOutputStream.java:175)
at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:123)
at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
Note that the above description is incorrect as to what the merge was about.
It is the message that I intended to make. It appears that I accidentaly merged multiple fixes waiting to be reviewed on my private fork.
This reverts commit dce0d2aff0, reversing
changes made to 63f67f30bd.
The problem is that the sending side has no way of knowing when the
receiving side has hung up. So when the receiving side hangs up we should
be able to read till the stream runs out, then close. Not the optimal
solution, but one that should work for now.
http://issues.jenkins-ci.org/browse/JENKINS-8592
First pass at making sure we don't stop copying when the reader reads 0 characters.
I will now also review the callers for our internal code, and check if we can use IOUtils methods instead.
* rc:
Revert "1.387 special"
updated changelog as a part of the release
updated changelog for release
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release hudson-1_387
preparing for a release
updated with changes
updated changelog
imported from svn
1.387 special
https://www.dev.java.net/svn/hudson/branches/rc
........
r36683 | kohsuke | 2010-11-05 16:33:52 -0700 (Fri, 05 Nov 2010) | 1 line
[maven-release-plugin] prepare release hudson-1_384
........
r36685 | kohsuke | 2010-11-05 16:34:05 -0700 (Fri, 05 Nov 2010) | 1 line
[maven-release-plugin] prepare for next development iteration
........
r36691 | kohsuke | 2010-11-05 19:28:12 -0700 (Fri, 05 Nov 2010) | 1 line
updated changelog as a part of the release
........
r36942 | kohsuke | 2010-11-15 11:09:29 -0800 (Mon, 15 Nov 2010) | 1 line
[maven-release-plugin] prepare release hudson-1_385
........
r36944 | kohsuke | 2010-11-15 11:09:57 -0800 (Mon, 15 Nov 2010) | 1 line
[maven-release-plugin] prepare for next development iteration
........
r36952 | kohsuke | 2010-11-15 12:42:33 -0800 (Mon, 15 Nov 2010) | 1 line
updated changelog as a part of the release
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36965 71c3de6d-444a-0410-be80-ed276b4c234a
https://www.dev.java.net/svn/hudson/branches/rc
........
r36437 | kohsuke | 2010-10-29 17:39:53 -0700 (Fri, 29 Oct 2010) | 1 line
[maven-release-plugin] prepare release hudson-1_383
........
r36439 | kohsuke | 2010-10-29 17:40:05 -0700 (Fri, 29 Oct 2010) | 1 line
[maven-release-plugin] prepare for next development iteration
........
r36443 | kohsuke | 2010-10-29 18:48:26 -0700 (Fri, 29 Oct 2010) | 1 line
updated changelog as a part of the release
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36611 71c3de6d-444a-0410-be80-ed276b4c234a
https://www.dev.java.net/svn/hudson/branches/rc
........
r36181 | kohsuke | 2010-10-24 06:05:54 -0700 (Sun, 24 Oct 2010) | 1 line
[maven-release-plugin] prepare release hudson-1_382
........
r36183 | kohsuke | 2010-10-24 06:06:36 -0700 (Sun, 24 Oct 2010) | 1 line
[maven-release-plugin] prepare for next development iteration
........
r36188 | kohsuke | 2010-10-24 07:40:27 -0700 (Sun, 24 Oct 2010) | 1 line
updated changelog as a part of the release
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36317 71c3de6d-444a-0410-be80-ed276b4c234a