Commit 0bb2374
committed
Updates #3802
Trying to fix the `not-well-formed` reconnect loop.
- Don't reconnect when we get CONNFAIL error with `not-well-formed`.
- Don't flush immediately after connection when not using BOSH
Not sure about the 2nd change. The `not-well-formed` error happens
because the XML sent is somehow not valid. This reconnect loop happens
sometimes when resuming from suspend. My suspicion is that something
from the previous session is sent which is invalid in the current
session, but I'm not sure what, so this is mostly a stab in the dark.1 parent c3b2fb7 commit 0bb2374
File tree
1 file changed
+8
-1
lines changed1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
219 | 223 | | |
220 | 224 | | |
221 | 225 | | |
| |||
338 | 342 | | |
339 | 343 | | |
340 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
341 | 348 | | |
342 | 349 | | |
343 | 350 | | |
| |||
0 commit comments