DL 2804 then UA 1251 at O'Hare
Boston → Chicago → Madison
Timetable, Chicago time
22:36DL 2804 from Boston at the gate
22:05UA 1251 to Madison leaves the gate
23 h 29 apart on the timetable, overnight
UA 1251 leaves 23 h 29 after DL 2804 arrives on the timetable: more than half a day, so not a connection we count.