UA 450 then CA 3104 at O'Hare
Toronto Pearson → Chicago → Shanghai
Timetable, Chicago time
11:57UA 450 from Toronto Pearson at the gate
11:40CA 3104 to Shanghai leaves the gate
23 h 43 apart on the timetable, overnight
CA 3104 leaves 23 h 43 after UA 450 arrives on the timetable: more than half a day, so not a connection we count.