Skip to content

Commit

Permalink
multi: rename the multi transfer states
Browse files Browse the repository at this point in the history
While working on documenting the states it dawned on me that step one is
to use more descriptive names on the states. This also changes prefix on
the states to make them shorter in the source.

State names NOT ending with *ing are transitional ones.

Closes #6612
  • Loading branch information
bagder committed Feb 16, 2021
1 parent cdb6306 commit 94719e7
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 139 deletions.
4 changes: 2 additions & 2 deletions lib/easy.c
Expand Up @@ -1034,8 +1034,8 @@ CURLcode curl_easy_pause(struct Curl_easy *data, int action)

/* Unpause parts in active mime tree. */
if((k->keepon & ~newstate & KEEP_SEND_PAUSE) &&
(data->mstate == CURLM_STATE_PERFORM ||
data->mstate == CURLM_STATE_TOOFAST) &&
(data->mstate == MSTATE_PERFORMING ||
data->mstate == MSTATE_RATELIMITING) &&
data->state.fread_func == (curl_read_callback) Curl_mime_read) {
Curl_mime_unpause(data->state.in);
}
Expand Down

0 comments on commit 94719e7

Please sign in to comment.