RETIRED, Gerrit as used by OpenStack
Go to file
Stefan Beller 243a49816c RestApiServlet: Leave OutputStream open when flushing base64 padding
Some Java servlet containers fail if the response's OutputStream is
closed twice by the application. This appears to contradict standard
behavior in Java where most streams gracefully ignore extra close.
Unfortunately the container is required to power gerrit-review and
as such Gerrit needs to try to tolerate its behavior.

Wrap the supplied OutputStream delegating all calls except for
close(). No-op the close() method so the Java 7 try-with-resources
block does not automatically close the servlet OutputStream, leaving
this for the caller's finally block.

Change-Id: I84bd3c8031580f805d5d4ef5d70f09b89e170450
2015-02-05 02:35:45 +00:00
.settings Support AutoValue 2014-11-08 08:31:08 -08:00
bucklets Rename __standalone_mode__ to STANDALONE_MODE 2014-11-24 08:44:12 +00:00
contrib Fix minor python code style issues 2014-12-18 02:51:06 +00:00
Documentation Merge "ChangeScreen: Allow to disable muting of common paths in file table" 2015-02-04 19:17:44 +00:00
gerrit-acceptance-tests Fix: REST API projects endpoints do not correctly handle '.git' suffix 2015-02-03 18:05:20 +09:00
gerrit-antlr Support change~branch~id in query syntax 2014-12-10 09:55:08 -08:00
gerrit-cache-h2 Use AutoCloseable gwtorm/jdbc instances 2015-01-13 11:23:40 -08:00
gerrit-common Only create new changes as draft if draft changes are allowed 2015-01-30 19:08:17 +09:00
gerrit-extension-api Update version to 2.10 2015-01-27 15:32:25 +01:00
gerrit-gwtdebug Organize imports 2014-12-18 11:16:03 +09:00
gerrit-gwtexpui Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-gwtui Merge "ChangeScreen: Allow to disable muting of common paths in file table" 2015-02-04 19:17:44 +00:00
gerrit-gwtui-common Remove unused "remove reviewer" image 2015-01-08 18:39:58 +09:00
gerrit-httpd RestApiServlet: Leave OutputStream open when flushing base64 padding 2015-02-05 02:35:45 +00:00
gerrit-launcher Apply "type inference for generic instance creation" Java 7 feature 2014-04-26 15:27:57 +02:00
gerrit-lucene Add index configuration to specify maximum possible limit 2015-01-20 11:04:08 -08:00
gerrit-main Build Main for Java 1.2 2013-11-30 01:53:00 -08:00
gerrit-openid OpenID: Add support for Launchpad on the login form 2014-12-12 21:22:55 +01:00
gerrit-patch-commonsnet Replace 'for' loop with 'foreach' 2013-12-04 01:02:53 +04:00
gerrit-patch-jgit Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-pgm Fix a resource leak 2015-02-03 07:47:38 +00:00
gerrit-plugin-api Update version to 2.10 2015-01-27 15:32:25 +01:00
gerrit-plugin-archetype Update version to 2.10 2015-01-27 15:32:25 +01:00
gerrit-plugin-gwt-archetype Update version to 2.10 2015-01-27 15:32:25 +01:00
gerrit-plugin-gwtui Update version to 2.10 2015-01-27 15:32:25 +01:00
gerrit-plugin-js-archetype Update version to 2.10 2015-01-27 15:32:25 +01:00
gerrit-prettify Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-reviewdb ChangeScreen: Allow to disable muting of common paths in file table 2015-02-02 11:17:45 +01:00
gerrit-server Merge "ChangeScreen: Allow to disable muting of common paths in file table" 2015-02-04 19:17:44 +00:00
gerrit-solr Add index configuration to specify maximum possible limit 2015-01-20 11:04:08 -08:00
gerrit-sshd Use StringBuilder instead of concatenation in SetAccountCommand 2015-02-03 16:52:09 +09:00
gerrit-util-cli Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-util-http Refactor RequestUtil into a separate package 2014-10-30 15:35:26 -07:00
gerrit-util-ssl Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-war Update version to 2.10 2015-01-27 15:32:25 +01:00
lib Enable syntax highlighting for Go. 2015-02-03 18:13:39 -08:00
plugins Merge changes from topic 'events' 2015-01-27 00:48:59 +00:00
ReleaseNotes Update the 2.11 release notes 2015-01-30 03:00:24 +00:00
tools Add configuration file for Checkstyle 2015-01-29 02:50:16 +00:00
website/releases Releases: Update website to use Cloud Storage v1 API 2014-11-21 12:22:59 -08:00
.buckconfig Add buck build soyc to output GWT split point report 2015-01-15 04:40:28 +00:00
.buckversion Update buck to latest version 2015-01-21 08:29:26 +00:00
.gitignore Add buck build soyc to output GWT split point report 2015-01-15 04:40:28 +00:00
.gitmodules Add singleusergroup plugin 2013-11-09 07:45:00 +01:00
.mailmap Update mailmap 2015-01-23 17:56:02 +09:00
.pydevproject Update PyDev project to use Python 2.7 2014-10-02 15:16:44 +09:00
.watchmanconfig Watchman: Add buck-out dir to ignored directories 2014-08-21 07:32:37 +02:00
BUCK Update Buck and use gwt_binary() 2014-05-19 11:41:31 -07:00
COPYING
INSTALL Remove Gerrit 1.x to 2.x import tools 2009-03-27 20:20:10 -07:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
VERSION Update version to 2.10 2015-01-27 15:32:25 +01:00