[Geoserver-devel] [JIRA] (GEOS-7346) WPS cancelling output stream ends up writing a single byte at a time

Andrea Aime [Administrator] created an issue

GeoServer / BugGEOS-7346

WPS cancelling output stream ends up writing a single byte at a time

Issue Type:

BugBug

Assignee:

Unassigned

Components:

WPS

Created:

16/Dec/15 8:05 PM

Priority:

MediumMedium

Reporter:

Andrea Aime [Administrator]

This is due to a design issue in the base FilterOutputStream, it turns a call to write(byte, int, int) into n calls to write(int)… which is a performance killer. We have to dodge that super method and delegate directly to the wrapped output stream instead.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.1.0-OD-02-030#71001-sha1:2ba8c0f)

Atlassian logo