forked fromglynos/cpp-netlib
- Notifications
You must be signed in to change notification settings - Fork425
Commit57f1e97

Pavel Punsky
Fixes crashes on unstable network
Instead of evaluating host asynchronously, pass host as string_type intoresolve. Can crash because request does not exist at the time ofevaluation of bind in some cases1 parent7765e6e commit57f1e97
File tree
1 file changed
+3
-2
lines changed- boost/network/protocol/http/client/connection
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
97 |
| - | |
| 97 | + | |
| 98 | + | |
98 | 99 |
| |
99 | 100 |
| |
100 |
| - | |
| 101 | + | |
101 | 102 |
| |
102 | 103 |
| |
103 | 104 |
| |
|
0 commit comments
Comments
(0)