Changeset 4902 for trunk/module-cccam.c
- Timestamp:
- 04/03/11 15:24:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccam.c
r4901 r4902 467 467 468 468 len = recv(handle, buf, 4, MSG_WAITALL); 469 if ( cl->typ != 'c')469 if (rdr) 470 470 rdr->last_g = time(NULL); 471 471 … … 494 494 495 495 len = recv(handle, buf + 4, size, MSG_WAITALL); // read rest of msg 496 if ( cl->typ != 'c')496 if (rdr) 497 497 rdr->last_g = time(NULL); 498 498 … … 2735 2735 cmi+=10; 2736 2736 if (cmi >= cfg.cmaxidle) { 2737 cs_debug_mask(D_TRACE, "client timeout user %s", usr);2737 //cs_debug_mask(D_TRACE, "client timeout user %s idle=%d client max idle=%d", usr, cmi, cfg.cmaxidle); 2738 2738 if (cfg.cc_keep_connected || cl->account->ncd_keepalive) { 2739 2739 if (cc_cmd_send(cl, NULL, 0, MSG_KEEPALIVE) < 0) … … 2745 2745 } 2746 2746 else if (wait_for_keepalive<100) break; 2747 cmi = 0; 2747 2748 } else { 2748 2749 cs_debug_mask(D_CLIENT, "%s keepalive after maxidle is reached",
Note:
See TracChangeset
for help on using the changeset viewer.