Commit f648421
committed
Fix potential stuck at UnixDomainSocket.read() (HttpClient transport) (#1475)
Prevent unnecessary recurring calls of `read()` on UNIX socket, which may result in blocking read and cause hanging of "docker-java-stream" thread.1 parent 9b99a84 commit f648421
1 file changed
Lines changed: 9 additions & 17 deletions
File tree
- docker-java-transport-httpclient5/src/main/java/com/github/dockerjava/httpclient5
Lines changed: 9 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | 234 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
252 | 244 | | |
253 | 245 | | |
254 | 246 | | |
| |||
0 commit comments