Changeset 4822 for trunk/module-cccam.c
- Timestamp:
- 03/16/11 18:27:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccam.c
r4813 r4822 561 561 if (rdr) 562 562 cc_cli_close(cl, TRUE); 563 n = -1; 563 564 } 564 565 … … 2708 2709 //some clients, e.g. mgcamd, does not support keepalive. So if not answered, keep connection 2709 2710 // check for client timeout, if timeout occurs try to send keepalive 2710 while (cl->pfd && cl->udp_fd )2711 while (cl->pfd && cl->udp_fd && cc->mode == CCCAM_MODE_NORMAL && !cl->dup) 2711 2712 { 2712 2713 i = process_input(mbuf, sizeof(mbuf), 10); … … 2740 2741 wait_for_keepalive = 0; 2741 2742 } 2742 2743 if (cc->mode != CCCAM_MODE_NORMAL || cl->dup)2744 break; //mode wrong or duplicate user -->disconect2745 2746 2743 } 2747 2744
Note:
See TracChangeset
for help on using the changeset viewer.