filetransfer: fix decompression regression from 121edecf
121edecf65
added a new state field to carry over content encoding settings from transfer to sink creation, but never actually set that field. Change-Id:I714b2efe745561e851b78a4791479b3501db8c72
This commit is contained in:
parent
f6dc40cd1c
commit
38d825b21e
|
@ -761,6 +761,10 @@ struct curlFileTransfer : public FileTransfer
|
|||
state.wait_for(state->request, std::chrono::seconds(10));
|
||||
}
|
||||
|
||||
if (state->encoding.empty()) {
|
||||
state->encoding = transfer.encoding;
|
||||
}
|
||||
|
||||
/* Append data to the buffer and wake up the calling
|
||||
thread. */
|
||||
state->data.append(data);
|
||||
|
|
Loading…
Reference in a new issue