1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-13 13:51:53 +00:00

Support traffic statistics.

This commit is contained in:
cuihaikuo
2018-08-10 17:47:19 +08:00
parent 1991a68bcf
commit ac5f26fef8
8 changed files with 198 additions and 15 deletions

View File

@@ -497,7 +497,8 @@ zip_download_mgr_start_zip_task (ZipDownloadMgr *mgr,
obj->repo = repo;
obj->user = g_strdup (seafile_web_access_get_username (info));
if (strcmp (operation, "download-dir") == 0) {
if (strcmp (operation, "download-dir") == 0 ||
strcmp (operation, "download-dir-link") == 0) {
obj->type = DOWNLOAD_DIR;
ret = parse_download_dir_data (obj, data);
if (ret < 0) {