corrected and clarified the *_SPEED_LARGE comments

This commit is contained in:
Daniel Stenberg 2008-11-05 21:46:40 +00:00
parent 47b5740bdf
commit b80c5cff49

View File

@ -1487,17 +1487,15 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
break; break;
case CURLOPT_MAX_SEND_SPEED_LARGE: case CURLOPT_MAX_SEND_SPEED_LARGE:
/* /*
* The max speed limit that sends transfer more than * When transfer uploads are faster then CURLOPT_MAX_SEND_SPEED_LARGE
* CURLOPT_MAX_SEND_PER_SECOND bytes per second the transfer is * bytes per second the transfer is throttled..
* throttled..
*/ */
data->set.max_send_speed=va_arg(param, curl_off_t); data->set.max_send_speed=va_arg(param, curl_off_t);
break; break;
case CURLOPT_MAX_RECV_SPEED_LARGE: case CURLOPT_MAX_RECV_SPEED_LARGE:
/* /*
* The max speed limit that sends transfer more than * When receiving data faster than CURLOPT_MAX_RECV_SPEED_LARGE bytes per
* CURLOPT_MAX_RECV_PER_SECOND bytes per second the transfer is * second the transfer is throttled..
* throttled..
*/ */
data->set.max_recv_speed=va_arg(param, curl_off_t); data->set.max_recv_speed=va_arg(param, curl_off_t);
break; break;