We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c86c45 + 8a9396c commit 16f1016Copy full SHA for 16f1016
bindings/jaxrs/src/main/java/org/commonjava/indy/core/bind/jaxrs/util/TransferStreamingOutput.java
@@ -65,6 +65,7 @@ public void write( final OutputStream out )
65
{
66
CountingOutputStream cout = new CountingOutputStream( out );
67
IOUtils.copy( stream, cout );
68
+ cout.flush(); // ensure any remaining data is written to the output stream
69
70
Logger logger = LoggerFactory.getLogger( getClass() );
71
logger.trace( "Wrote: {} bytes", cout.getByteCount() );
0 commit comments