Changeset 4796 for trunk/module-cccam.c
- Timestamp:
- 03/06/11 20:21:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccam.c
r4791 r4796 1610 1610 free_extended_ecm_idx_by_card(cl, card); 1611 1611 cc_free_card(card); 1612 cc->card_removed_count++; 1612 1613 //break; 1613 1614 } … … 1840 1841 ll_append(cc->cards, card); 1841 1842 set_au_data(cl, rdr, card, NULL); 1843 cc->card_added_count++; 1842 1844 } 1843 1845 } … … 2699 2701 //some clients, e.g. mgcamd, does not support keepalive. So if not answered, keep connection 2700 2702 // check for client timeout, if timeout occurs try to send keepalive 2701 while (cl->pfd )2703 while (cl->pfd && cl->udp_fd) 2702 2704 { 2703 2705 i = process_input(mbuf, sizeof(mbuf), 10); 2704 2706 if (i == -9) { 2705 2707 cmi += 10; 2706 if (cmi >= cfg.cmaxidle) { 2708 ulong cmaxidle = cfg.cmaxidle; 2709 if (cmaxidle < 300)//300s=5min "O" CCcam idle time 2710 cmaxidle = 300; 2711 if (cmi >= cmaxidle) { 2707 2712 if (cfg.cc_keep_connected || cl->account->ncd_keepalive) { 2708 2713 if (wait_for_keepalive<3 || wait_for_keepalive == 100) {
Note:
See TracChangeset
for help on using the changeset viewer.