search for: con_time

Displaying 4 results from an estimated 4 matches for "con_time".

Did you mean: cond_time
2004 Aug 06
0
[PATCH] Add per-listener and per-mount connection time limits.
.../* Kick any clients that have overstayed their time limit. */ + if ((global_listener_time_limit > 0) || + (mount_listener_time_limit > 0)) { + current_time = time(NULL); + client_connect_time = current_time - client->con->con_time; + + if ((global_listener_time_limit > 0) && + (mount_listener_time_limit > 0)) { + listener_time_limit = mount_listener_time_limit; + } else if (global_listener_time_limit > 0) { + listener...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello, I work at SmarctJog.com, we have here some patches on IceCast for performance and reliability, these are mostly client/connection/source cleanups (a slave merge is underway, and some more good stuff (c)), but we'd like this to be merged in before the list gets any longer. Please find attached a list of our patches with a short desc: This one is actually not from us/me, it was found
2004 Aug 06
1
[PATCH] IceCast2 - aliasing (reimplementation of the patch I posted earlier)
...k_t sock, char *ip) { +connection_t *create_connection(sock_t sock, sock_t serversock, char *ip) { connection_t *con; con = (connection_t *)malloc(sizeof(connection_t)); memset(con, 0, sizeof(connection_t)); con->sock = sock; + con->serversock = serversock; con->con_time = time(NULL); con->id = _next_connection_id(); con->ip = ip; @@ -203,7 +204,7 @@ sock = sock_accept(serversock, ip, MAX_ADDR_LEN); if (sock >= 0) { - con = create_connection(sock, ip); + con = create_connection(sock, serversock, ip); return co...
2004 Aug 06
0
[PATCH] IceCast2 - socket-based default mount
...k_t sock, char *ip) { +connection_t *create_connection(sock_t sock, sock_t serversock, char *ip) { connection_t *con; con = (connection_t *)malloc(sizeof(connection_t)); memset(con, 0, sizeof(connection_t)); con->sock = sock; + con->serversock = serversock; con->con_time = time(NULL); con->id = _next_connection_id(); con->ip = ip; @@ -203,7 +204,7 @@ sock = sock_accept(serversock, ip, MAX_ADDR_LEN); if (sock >= 0) { - con = create_connection(sock, ip); + con = create_connection(sock, serversock, ip); return co...