mirror of
https://github.com/lammertb/libhttp.git
synced 2025-08-10 14:23:00 +03:00
throttle now fast option
This commit is contained in:
@@ -149,7 +149,7 @@ void XX_httplib_handle_request( struct httplib_connection *conn ) {
|
||||
* 3. if this ip has limited speed, set it for this connection
|
||||
*/
|
||||
|
||||
conn->throttle = XX_httplib_set_throttle( conn->ctx->cfg[THROTTLE], XX_httplib_get_remote_ip( conn ), ri->local_uri );
|
||||
conn->throttle = XX_httplib_set_throttle( conn->ctx->throttle, XX_httplib_get_remote_ip( conn ), ri->local_uri );
|
||||
|
||||
/*
|
||||
* 4. call a "handle everything" callback, if registered
|
||||
|
Reference in New Issue
Block a user