zoe icon indicating copy to clipboard operation
zoe copied to clipboard

C++ File Download Library.

Results 7 zoe issues
Sort by recently updated
recently updated
newest added

在linux下面使用此源码,curl 版本 7.29.0, 执行make时发生下面的问题: ``` /data2/workspace/outer_third_party/teemo/src/curl_utils.cpp: In function ‘void teemo::{anonymous}::locking_function(int, int, const char*, int)’: /data2/workspace/outer_third_party/teemo/src/curl_utils.cpp:39:23: error: ‘pthread_mutex_lock’ was not declared in this scope #define MUTEX_LOCK(x) pthread_mutex_lock(&(x)) ^ /data2/workspace/outer_third_party/teemo/src/curl_utils.cpp:48:5: note: in...

在你的最近一次修改中,已经采用了fallocate 但在我的意识里,mac并不支持fallocate或posix_fallocate linux支持,mac是unix,并不是linux 参见: https://github.com/aria2/aria2/blob/15cad965eb75c8b7f11bc2fc94354d1873bf6261/src/AbstractDiskWriter.cc `````` elif defined(__APPLE__) && defined(__MACH__) const auto toalloc = offset + length - size(); fstore_t fstore = {F_ALLOCATECONTIG | F_ALLOCATEALL, F_PEOFPOSMODE, 0, toalloc, 0}; if...

Can add support for SHA512?

enhancement

i wanna be a zoe main after this project 🤣🤣🤣🤣

When requesting data the libcurl option `CURLOPT_SSL_VERIFYHOST` and `CURLOPT_SSL_VERIFYPEER` are explicitly disabled. see `EntryHandler::requestFileInfo` and `Slice::start` ```cpp CHECK_SETOPT1(curl_easy_setopt(curl_, CURLOPT_SSL_VERIFYHOST, 0L)); CHECK_SETOPT1(curl_easy_setopt(curl_, CURLOPT_SSL_VERIFYPEER, 0L)); ``` I hereby quote the cURL documentation...

The `register` keyword has been removed from C++17. Recent compilers make `register` a compile error. Since `register` is already meaningless in most compilers, could you please remove it?