forked fromAsyncHttpClient/async-http-client
- Notifications
You must be signed in to change notification settings - Fork0
Commitbff695e
committed
Drop WebSocketUpgradeHandler:: touchSuccess
MotivationThis hack was a very old workaround forAsyncHttpClient#317 where the server wouldsend the first frame along with the handshake.This issue has actually been fixed for quite some time, we just had toreplace the `UpgradeCallback` with the future before triggering theread when upgrading the pipeline.We no longer need this protection as there’s no way the`UpgradeCallback` can be called twice.Modification:Remove dead code.Result:Clean code1 parent7a70b80 commitbff695e
File tree
2 files changed
+4
-12
lines changed- client/src/main/java/org/asynchttpclient
- netty/handler
- ws
2 files changed
+4
-12
lines changedLines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 55 | | |
62 | 56 | | |
63 | 57 | | |
| |||
0 commit comments
Comments
(0)