forked fromAsyncHttpClient/async-http-client
- Notifications
You must be signed in to change notification settings - Fork0
Commit25b0e9b
committed
Drop NettyResponseFuture:: isAndSetStatusReceived,closeAsyncHttpClient#1349
Motivation:I’m not sure what this code was for. It’s been there for ages (2010,the git repository doesn’t have older commits, seehttps://github.com/AsyncHttpClient/async-http-client/blob/8c62f3ea9c647ab057f3d9d4d1fef5d76b52e8e8/src/main/java/com/ning/http/client/providers/netty/NettyResponseFuture.java#L65).I suspect this was used because of bugs that caused multiplesubmissions for the same request. Such bugs have been fixed since then.Let’s remove this dead code.Modifications:Remove `NettyResponseFuture:: isAndSetStatusReceived`.Result:Less dead code1 parent821a0f7 commit25b0e9b
File tree
3 files changed
+1
-8
lines changed- client/src/main/java/org/asynchttpclient/netty
- handler
- request
3 files changed
+1
-8
lines changedLines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | 83 | | |
86 | 84 | | |
87 | 85 | | |
| |||
360 | 358 | | |
361 | 359 | | |
362 | 360 | | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | 361 | | |
368 | 362 | | |
369 | 363 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | 429 | | |
431 | 430 | | |
432 | 431 | | |
| |||
0 commit comments
Comments
(0)