9C 8512 then 3U 8204 at Pudong
Chiang Mai → Shanghai → Kunming
Timetable, Shanghai time
14:459C 8512 from Chiang Mai at the gate
09:553U 8204 to Kunming leaves the gate
19 h 10 apart on the timetable, overnight
3U 8204 leaves 19 h 10 after 9C 8512 arrives on the timetable: more than half a day, so not a connection we count.