Skip to content

Commit b7e1732

Browse files
authored
Merge pull request #23 from libxengine/develop
V3.7.0.1001 Merge
2 parents df568ba + a896c3a commit b7e1732

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+197
-3599
lines changed

CHANGELOG

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
XEngine_Storage V3.7.0.1001
2+
3+
优化:关闭广播
4+
修改:Protocol_P2XPPacket_QueryFile函数名为Protocol_StoragePacket_REQFile
5+
修改:程序启动会打印XEngine版本了
6+
修正:动态重载配置文件不正确
7+
修正:客户离开类型日志打印问题
8+
删除:p2p相关文件和代码
9+
10+
improved:close broadcast
11+
modify:Protocol_P2XPPacket_QueryFile function name to Protocol_StoragePacket_REQFile function name
12+
modify:print xengine version when start program
13+
fixed:reload configure file is incorrent
14+
fixed:print problem that client leave type
15+
delete:p2xp about file and code
16+
======================================================================================
117
XEngine_Storage V3.6.0.1001
218

319
添加:在Protocol_StorageParse_QueryFile函数中添加模式参数

README.en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[中文](README.md) || [English](README.en.md)
22
# XEngine_Storage
33
This repository has a development and master branch. If you want to use it, please use the master branch
4+
As long as the repository is not in a suspended state, someone will maintain and develop it all the time, please use it with confidence
45

56
## Introduction
67
c c++ 存储服务 c c++ 文件存储服务

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[中文](README.md) || [English](README.en.md)
22
# XEngine_Storage
33
本仓库有开发和主分支,如果要使用,请使用master分支下的代码
4+
只要仓库不是在暂停状态,那么就会有人一直维护和开发,请放心使用
45

56
## 介绍
67
c c++ 存储服务 c c++ 文件存储服务
@@ -79,6 +80,7 @@ P2P分布式下载已经支持,不过目前只能在局域网中,暂时不支持
7980
P2P分布式下载与其他下载工具的超线程下载一样,原理是使用HTTP RANGE字段实现.各位可以通过libcurl等库实现此功能.
8081

8182
## 当前任务
83+
管理接口调试
8284
P2P广域网文件查找与下载支持
8385
分布式数据库存储
8486

XEngine_APPClient/APPClient_Download/APPClient_Download.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,13 @@ int main()
163163
int nBodyLen = 2048;
164164
TCHAR *ptszMsgBody = NULL;
165165
//请求分布式存储文件所有位置
166-
LPCTSTR lpszUrl = _T("http://127.0.0.1:5100/Api/Manage/P2P");
166+
LPCTSTR lpszUrl = _T("http://127.0.0.1:5100/Api/Manage/Query");
167167
LPCTSTR lpszFile = _T("D:\\XEngine_Storage\\XEngine_APPClient\\Debug\\qq.exe");
168168

169169
Json::Value st_JsonRoot;
170+
st_JsonRoot["nMode"] = 1; //使用P2P下载
170171
st_JsonRoot["lpszBuckKey"] = "storagekey2";
171-
st_JsonRoot["lpszFileHash"] = "781E5E245D69B566979B86E28D23F2C7";
172+
st_JsonRoot["lpszFileName"] = "qq.exe";
172173

173174
if (!APIHelp_HttpRequest_Post(lpszUrl, st_JsonRoot.toStyledString().c_str(), &nHTTPCode, &ptszMsgBody, &nBodyLen))
174175
{

XEngine_APPClient/APPClient_P2XPClient/APPClient_P2XPClient.cpp

Lines changed: 0 additions & 232 deletions
This file was deleted.

0 commit comments

Comments
 (0)