kopia lustrzana https://github.com/gaul/s3proxy
Read from PushBackInputStream not InputStream
Previously S3Proxy truncated create bucket requests.pull/124/head
rodzic
bb68ff5afc
commit
9c3d9409ac
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue