Commit 068dbe5
Fix subscription in DuplexConnection. (#98)
**Problem**
A Publisher may not have been initialized when a DuplexConnection failed during
the connection establishement. (e.g. connection reset by peer)
**Solution**
Do the subscription as soon as Netty complete, regarding of the result
of the ConnectFuture.1 parent 1c90af0 commit 068dbe5
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- reactivesocket-transport-tcp/src/main/java/io/reactivesocket/transport/tcp/client
- reactivesocket-transport-websocket/src/main/java/io/reactivesocket/transport/websocket/client
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | | - | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments