Skip to content

Commit 50f64dd

Browse files
committed
revert the OkHttp change
1 parent a356f66 commit 50f64dd

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

docker-java-transport-okhttp/src/main/java/com/github/dockerjava/okhttp/HijackingInterceptor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public Response intercept(Chain chain) throws IOException {
4949
sink.writeByte(aByte);
5050
sink.emit();
5151
}
52-
exchange.connection().socket().shutdownOutput();
5352
} catch (Exception e) {
5453
throw new RuntimeException(e);
5554
}

docker-java/src/test/java/com/github/dockerjava/cmd/AttachContainerCmdIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ public void onComplete() {
291291
@Test
292292
public void closeStdinWithStdinOnce() throws Exception {
293293
Assume.assumeTrue("supports stdin attach", getFactoryType().supportsStdinAttach());
294+
Assume.assumeFalse("not fixed for OkHttp", getFactoryType().equals(FactoryType.OKHTTP));
294295

295296
DockerClient dockerClient = dockerRule.getClient();
296297

0 commit comments

Comments
 (0)