Read from PushBackInputStream not InputStream

Previously S3Proxy truncated create bucket requests.
pull/124/head
Andrew Gaul 2016-02-08 22:54:39 -08:00
rodzic bb68ff5afc
commit 9c3d9409ac
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1014,7 +1014,7 @@ final class S3ProxyHandler extends AbstractHandler {
} else {
pis.unread(ch);
CreateBucketRequest cbr = new XmlMapper().readValue(
is, CreateBucketRequest.class);
pis, CreateBucketRequest.class);
locationString = cbr.locationConstraint;
}
}