• Per Cederqvist's avatar
    (login_request): Set the priority and weight from · aea3feb4
    Per Cederqvist authored
    	param.default_priority and param.default_weight.
    (adjust_penalty): Use the weight to reduce the penalty.
    (get_scheduling): Return the actual scheduling information from
    	the connection.
    (set_scheduling): Check the priority and weight against
    	param.max_priority and param.max_weight.  Allow the user to
    	change them, as long as it is done within those limits.  Store
    	the new values in the connection.  Note: the current
    	implementation cannot handle more than one priority.  The
    	check for that is made in server-config.c.
    aea3feb4
connections.c 29.3 KB