diff --git a/README.md b/README.md index 57abe28..3da1fde 100644 --- a/README.md +++ b/README.md @@ -187,3 +187,8 @@ Licensed under the GNU GPL version 2 # pkg-config --modversion fuse 2.8.4 //看到版本表示安装成功 ``` + +* 为什么cosfs在正常使用过程中,突然退出了,重新挂载显示"unable to access MOUNTPOINT /path/to/mountpoint: Transport endpoint is not connected" + + 如果cosfs不是被强制Kill掉,那么检查机器上的fuse版本是否低于2.9.4,libfuse在低于2.9.4版本的情况下可能会导致cosfs异常退出。 + 建议更新fuse版本,或下载cosfs V1.0.2及以上版本。下载地址: https://github.com/tencentyun/cosfs/releases diff --git a/configure.ac b/configure.ac index 94fe580..081817f 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(cosfs, 1.0.0) +AC_INIT(cosfs, 1.0.2) AC_CONFIG_HEADER([config.h]) AC_CANONICAL_SYSTEM diff --git a/src/curl.cpp b/src/curl.cpp index 3d8b93e..0a4139d 100644 --- a/src/curl.cpp +++ b/src/curl.cpp @@ -307,7 +307,7 @@ mimes_t S3fsCurl::mimeTypes; int S3fsCurl::max_parallel_cnt = 10; // default off_t S3fsCurl::multipart_size = MULTIPART_SIZE; // default bool S3fsCurl::is_sigv4 = true; // default -const string S3fsCurl::skUserAgent = "tencentyun-cosfs-v5" + string(VERSION); +const string S3fsCurl::skUserAgent = "tencentyun-cosfs-v5-" + string(VERSION); //------------------------------------------------------------------- // Class methods for S3fsCurl