Changeset 6352


Ignore:
Timestamp:
Jul 17, 2008, 2:45:31 PM (13 years ago)
Author:
charles
Message:

(rpc) serve the clutch static files faster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc-server.c

    r6351 r6352  
    3535
    3636#define ACTIVE_INTERVAL_MSEC 40
    37 #define INACTIVE_INTERVAL_MSEC 500
     37#define INACTIVE_INTERVAL_MSEC 200
    3838
    3939struct tr_rpc_server
     
    343343
    344344        argv[argc++] = tr_strdup( "appname-unused" );
     345
    345346        argv[argc++] = tr_strdup( "-ports" );
    346347        argv[argc++] = tr_strdup_printf( "%d", server->port );
     348
    347349        argv[argc++] = tr_strdup( "-dir_list" );
    348350        argv[argc++] = tr_strdup( "0" );
     351
    349352        argv[argc++] = tr_strdup( "-auth_realm" );
    350353        argv[argc++] = tr_strdup( MY_REALM );
     354
    351355        if( server->acl )
    352356        {
     
    368372        }
    369373
    370         argv[argc++] = NULL; /* shttpd_init() wants it null-terminated */
     374        argv[argc] = NULL; /* shttpd_init() wants it null-terminated */
    371375
    372376        server->ctx = shttpd_init( argc, argv );
Note: See TracChangeset for help on using the changeset viewer.