mirror of
https://github.com/curl/curl.git
synced 2026-07-25 02:37:18 +03:00
hyper: drop support
lib : remove all hyper code configure: stop detecting hyper docs: no more mention of hyper tests: mo more special-handling of hyper builds CI: no jobs using hyper Closes #15120
This commit is contained in:
parent
46093d9e0e
commit
fc3e1cbc50
93 changed files with 118 additions and 2546 deletions
19
lib/sendf.c
19
lib/sendf.c
|
|
@ -316,9 +316,6 @@ static CURLcode cw_download_write(struct Curl_easy *data,
|
|||
}
|
||||
/* Update stats, write and report progress */
|
||||
data->req.bytecount += nwrite;
|
||||
#ifdef USE_HYPER
|
||||
data->req.bodywritten = TRUE;
|
||||
#endif
|
||||
result = Curl_pgrsSetDownloadCounter(data, data->req.bytecount);
|
||||
if(result)
|
||||
return result;
|
||||
|
|
@ -497,22 +494,6 @@ struct Curl_cwriter *Curl_cwriter_get_by_type(struct Curl_easy *data,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void Curl_cwriter_remove_by_name(struct Curl_easy *data,
|
||||
const char *name)
|
||||
{
|
||||
struct Curl_cwriter **anchor = &data->req.writer_stack;
|
||||
|
||||
while(*anchor) {
|
||||
if(!strcmp(name, (*anchor)->cwt->name)) {
|
||||
struct Curl_cwriter *w = (*anchor);
|
||||
*anchor = w->next;
|
||||
Curl_cwriter_free(data, w);
|
||||
continue;
|
||||
}
|
||||
anchor = &((*anchor)->next);
|
||||
}
|
||||
}
|
||||
|
||||
bool Curl_cwriter_is_paused(struct Curl_easy *data)
|
||||
{
|
||||
return Curl_cw_out_is_paused(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue