Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
报告_前方高能
ahttp
提交
f2f56304
A
ahttp
项目概览
报告_前方高能
/
ahttp
大约 1 年 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ahttp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f2f56304
编写于
6月 08, 2022
作者:
报告_前方高能
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.2-20220608
上级
62795f11
变更
32
隐藏空白更改
内联
并排
Showing
32 changed file
with
31 addition
and
23 deletion
+31
-23
ChangeLog
ChangeLog
+2
-2
README.md
README.md
+1
-1
client/3rd/include/frame/Console.h
client/3rd/include/frame/Console.h
+0
-0
client/3rd/include/frame/app/Netmsg.h
client/3rd/include/frame/app/Netmsg.h
+5
-3
client/3rd/include/frame/asm/INet.h
client/3rd/include/frame/asm/INet.h
+7
-5
client/3rd/include/frame/asm/INet_i.c
client/3rd/include/frame/asm/INet_i.c
+1
-1
client/3rd/lib/asynsdk_mini-MD.lib
client/3rd/lib/asynsdk_mini-MD.lib
+0
-0
client/3rd/lib/asynsdk_mini-MDd.lib
client/3rd/lib/asynsdk_mini-MDd.lib
+0
-0
client/3rd/lib/asynsdk_mini-MT.lib
client/3rd/lib/asynsdk_mini-MT.lib
+0
-0
client/3rd/lib/asynsdk_mini-MTd.lib
client/3rd/lib/asynsdk_mini-MTd.lib
+0
-0
client/3rd/lib/x64/asynsdk_mini-MD.lib
client/3rd/lib/x64/asynsdk_mini-MD.lib
+0
-0
client/3rd/lib/x64/asynsdk_mini-MDd.lib
client/3rd/lib/x64/asynsdk_mini-MDd.lib
+0
-0
client/3rd/lib/x64/asynsdk_mini-MT.lib
client/3rd/lib/x64/asynsdk_mini-MT.lib
+0
-0
client/3rd/lib/x64/asynsdk_mini-MTd.lib
client/3rd/lib/x64/asynsdk_mini-MTd.lib
+0
-0
client/bin/ahttpclient-x64.exe
client/bin/ahttpclient-x64.exe
+0
-0
client/bin/ahttpclient.exe
client/bin/ahttpclient.exe
+0
-0
client/src/Downloader.cpp
client/src/Downloader.cpp
+1
-1
server/3rd/include/frame/Console.h
server/3rd/include/frame/Console.h
+0
-0
server/3rd/include/frame/app/Netmsg.h
server/3rd/include/frame/app/Netmsg.h
+5
-3
server/3rd/include/frame/asm/INet.h
server/3rd/include/frame/asm/INet.h
+7
-5
server/3rd/include/frame/asm/INet_i.c
server/3rd/include/frame/asm/INet_i.c
+1
-1
server/3rd/lib/asynsdk_mini-MD.lib
server/3rd/lib/asynsdk_mini-MD.lib
+0
-0
server/3rd/lib/asynsdk_mini-MDd.lib
server/3rd/lib/asynsdk_mini-MDd.lib
+0
-0
server/3rd/lib/asynsdk_mini-MT.lib
server/3rd/lib/asynsdk_mini-MT.lib
+0
-0
server/3rd/lib/asynsdk_mini-MTd.lib
server/3rd/lib/asynsdk_mini-MTd.lib
+0
-0
server/3rd/lib/x64/asynsdk_mini-MD.lib
server/3rd/lib/x64/asynsdk_mini-MD.lib
+0
-0
server/3rd/lib/x64/asynsdk_mini-MDd.lib
server/3rd/lib/x64/asynsdk_mini-MDd.lib
+0
-0
server/3rd/lib/x64/asynsdk_mini-MT.lib
server/3rd/lib/x64/asynsdk_mini-MT.lib
+0
-0
server/3rd/lib/x64/asynsdk_mini-MTd.lib
server/3rd/lib/x64/asynsdk_mini-MTd.lib
+0
-0
server/bin/ahttpserver-x64.exe
server/bin/ahttpserver-x64.exe
+0
-0
server/bin/ahttpserver.exe
server/bin/ahttpserver.exe
+0
-0
server/src/Service.cpp
server/src/Service.cpp
+1
-1
未找到文件。
ChangeLog
浏览文件 @
f2f56304
2022-05-26 ahttp 1.2.0.5
1. 集成asynsdk: 1.1-20220526, http://asynframe.sf.net
\ No newline at end of file
2022-06-08 ahttp 1.2.0.5
1. 集成asynsdk: 1.1-20220608, https://github.com/netsecsp/asynframe
\ No newline at end of file
README.md
浏览文件 @
f2f56304
> asynframe-sdk_v1.
1-20220526
.zip is from https://github.com/netsecsp/asynframe
> asynframe-sdk_v1.
2-20220608
.zip is from https://github.com/netsecsp/asynframe
# ahttpclient.exe
supports IPv4/IPv6 HTTP client program under windows
...
...
client/3rd/include/frame/Console
_internal
.h
→
client/3rd/include/frame/Console.h
浏览文件 @
f2f56304
文件已移动
client/3rd/include/frame/app/Netmsg.h
浏览文件 @
f2f56304
...
...
@@ -45,8 +45,8 @@ class CNetmsg :
public
CMultiThreadModelObject
//CComObjectRootEx<CComSingleThreadModel>
{
public:
CNetmsg
(
uint32_t
dwRef
=
0
)
:
CMultiThreadModelObject
(
dwRef
)
CNetmsg
(
uint32_t
dwRef
=
0
,
BOOL
ack
=
0
)
:
CMultiThreadModelObject
(
dwRef
)
,
m_ack
(
ack
)
{
}
virtual
~
CNetmsg
()
{
}
...
...
@@ -88,8 +88,9 @@ public: //interface of IKeyvalSetter
}
public:
//interface of INetmsg
STDMETHOD
(
Getline
)(
/*[out]*/
STRING
*
pMethod
,
/*[out]*/
STRING
*
pParam1
,
/*[out]*/
STRING
*
pParam2
)
STDMETHOD
(
Getline
)(
/*[out]*/
STRING
*
pMethod
,
/*[out]*/
STRING
*
pParam1
,
/*[out]*/
STRING
*
pParam2
,
/*[out]*/
BOOL
*
ack
)
{
if
(
ack
)
*
ack
=
m_ack
;
if
(
pMethod
)
{
pMethod
->
ptr
=
(
BYTE
*
)
m_method
.
c_str
();
...
...
@@ -120,6 +121,7 @@ public:
std
::
string
m_param1
;
std
::
string
m_param2
;
CKeyval
m_val
;
BOOL
m_ack
;
//0-req 1-ack
};
NAMESPACE_END
(
asynsdk
)
...
...
client/3rd/include/frame/asm/INet.h
浏览文件 @
f2f56304
...
...
@@ -4,7 +4,7 @@
/* File created by MIDL compiler version 8.00.0603 */
/* at
Tue Apr 26 17:24:45
2022
/* at
Wed Jun 08 09:11:21
2022
*/
/* Compiler settings for INet.idl:
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603
...
...
@@ -101,7 +101,8 @@ EXTERN_C const IID IID_INetmsg;
virtual
HRESULT
STDMETHODCALLTYPE
Getline
(
/* [out] */
STRING
*
Method
,
/* [out] */
STRING
*
Param1
,
/* [out] */
STRING
*
Param2
)
=
0
;
/* [out] */
STRING
*
Param2
,
/* [out] */
BOOL
*
ack
)
=
0
;
virtual
HRESULT
STDMETHODCALLTYPE
Setline
(
/* [in] */
STRING
Method
,
...
...
@@ -166,7 +167,8 @@ EXTERN_C const IID IID_INetmsg;
INetmsg
*
This
,
/* [out] */
STRING
*
Method
,
/* [out] */
STRING
*
Param1
,
/* [out] */
STRING
*
Param2
);
/* [out] */
STRING
*
Param2
,
/* [out] */
BOOL
*
ack
);
HRESULT
(
STDMETHODCALLTYPE
*
Setline
)(
INetmsg
*
This
,
...
...
@@ -216,8 +218,8 @@ EXTERN_C const IID IID_INetmsg;
(
(
This
)
->
lpVtbl
->
Travel
(
This
,
pParams
)
)
#define INetmsg_Getline(This,Method,Param1,Param2) \
(
(
This
)
->
lpVtbl
->
Getline
(
This
,
Method
,
Param1
,
Param2
)
)
#define INetmsg_Getline(This,Method,Param1,Param2
,ack
) \
(
(
This
)
->
lpVtbl
->
Getline
(
This
,
Method
,
Param1
,
Param2
,
ack
)
)
#define INetmsg_Setline(This,Method,Param1,Param2) \
(
(
This
)
->
lpVtbl
->
Setline
(
This
,
Method
,
Param1
,
Param2
)
)
...
...
client/3rd/include/frame/asm/INet_i.c
浏览文件 @
f2f56304
...
...
@@ -6,7 +6,7 @@
/* File created by MIDL compiler version 8.00.0603 */
/* at
Tue Apr 26 17:24:45
2022
/* at
Wed Jun 08 09:11:21
2022
*/
/* Compiler settings for INet.idl:
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603
...
...
client/3rd/lib/asynsdk_mini-MD.lib
浏览文件 @
f2f56304
无法预览此类型文件
client/3rd/lib/asynsdk_mini-MDd.lib
浏览文件 @
f2f56304
无法预览此类型文件
client/3rd/lib/asynsdk_mini-MT.lib
浏览文件 @
f2f56304
无法预览此类型文件
client/3rd/lib/asynsdk_mini-MTd.lib
浏览文件 @
f2f56304
无法预览此类型文件
client/3rd/lib/x64/asynsdk_mini-MD.lib
浏览文件 @
f2f56304
无法预览此类型文件
client/3rd/lib/x64/asynsdk_mini-MDd.lib
浏览文件 @
f2f56304
无法预览此类型文件
client/3rd/lib/x64/asynsdk_mini-MT.lib
浏览文件 @
f2f56304
无法预览此类型文件
client/3rd/lib/x64/asynsdk_mini-MTd.lib
浏览文件 @
f2f56304
无法预览此类型文件
client/bin/ahttpclient-x64.exe
浏览文件 @
f2f56304
无法预览此类型文件
client/bin/ahttpclient.exe
浏览文件 @
f2f56304
无法预览此类型文件
client/src/Downloader.cpp
浏览文件 @
f2f56304
...
...
@@ -136,7 +136,7 @@ HRESULT CDownloader::OnIomsgNotify( uint64_t lParam1, uint64_t lAction, IAsynIoO
STRING
Status
;
STRING
Params
;
spRspmsg
->
Getline
(
&
Status
,
&
Params
,
0
);
spRspmsg
->
Getline
(
&
Status
,
&
Params
,
0
,
0
);
std
::
string
status
=
string_from_STRING
(
Status
);
std
::
string
params
=
string_from_STRING
(
Params
);
lErrorCode
=
atoi
(
status
.
c_str
());
...
...
server/3rd/include/frame/Console
_internal
.h
→
server/3rd/include/frame/Console.h
浏览文件 @
f2f56304
文件已移动
server/3rd/include/frame/app/Netmsg.h
浏览文件 @
f2f56304
...
...
@@ -45,8 +45,8 @@ class CNetmsg :
public
CMultiThreadModelObject
//CComObjectRootEx<CComSingleThreadModel>
{
public:
CNetmsg
(
uint32_t
dwRef
=
0
)
:
CMultiThreadModelObject
(
dwRef
)
CNetmsg
(
uint32_t
dwRef
=
0
,
BOOL
ack
=
0
)
:
CMultiThreadModelObject
(
dwRef
)
,
m_ack
(
ack
)
{
}
virtual
~
CNetmsg
()
{
}
...
...
@@ -88,8 +88,9 @@ public: //interface of IKeyvalSetter
}
public:
//interface of INetmsg
STDMETHOD
(
Getline
)(
/*[out]*/
STRING
*
pMethod
,
/*[out]*/
STRING
*
pParam1
,
/*[out]*/
STRING
*
pParam2
)
STDMETHOD
(
Getline
)(
/*[out]*/
STRING
*
pMethod
,
/*[out]*/
STRING
*
pParam1
,
/*[out]*/
STRING
*
pParam2
,
/*[out]*/
BOOL
*
ack
)
{
if
(
ack
)
*
ack
=
m_ack
;
if
(
pMethod
)
{
pMethod
->
ptr
=
(
BYTE
*
)
m_method
.
c_str
();
...
...
@@ -120,6 +121,7 @@ public:
std
::
string
m_param1
;
std
::
string
m_param2
;
CKeyval
m_val
;
BOOL
m_ack
;
//0-req 1-ack
};
NAMESPACE_END
(
asynsdk
)
...
...
server/3rd/include/frame/asm/INet.h
浏览文件 @
f2f56304
...
...
@@ -4,7 +4,7 @@
/* File created by MIDL compiler version 8.00.0603 */
/* at
Tue Apr 26 17:24:45
2022
/* at
Wed Jun 08 09:11:21
2022
*/
/* Compiler settings for INet.idl:
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603
...
...
@@ -101,7 +101,8 @@ EXTERN_C const IID IID_INetmsg;
virtual
HRESULT
STDMETHODCALLTYPE
Getline
(
/* [out] */
STRING
*
Method
,
/* [out] */
STRING
*
Param1
,
/* [out] */
STRING
*
Param2
)
=
0
;
/* [out] */
STRING
*
Param2
,
/* [out] */
BOOL
*
ack
)
=
0
;
virtual
HRESULT
STDMETHODCALLTYPE
Setline
(
/* [in] */
STRING
Method
,
...
...
@@ -166,7 +167,8 @@ EXTERN_C const IID IID_INetmsg;
INetmsg
*
This
,
/* [out] */
STRING
*
Method
,
/* [out] */
STRING
*
Param1
,
/* [out] */
STRING
*
Param2
);
/* [out] */
STRING
*
Param2
,
/* [out] */
BOOL
*
ack
);
HRESULT
(
STDMETHODCALLTYPE
*
Setline
)(
INetmsg
*
This
,
...
...
@@ -216,8 +218,8 @@ EXTERN_C const IID IID_INetmsg;
(
(
This
)
->
lpVtbl
->
Travel
(
This
,
pParams
)
)
#define INetmsg_Getline(This,Method,Param1,Param2) \
(
(
This
)
->
lpVtbl
->
Getline
(
This
,
Method
,
Param1
,
Param2
)
)
#define INetmsg_Getline(This,Method,Param1,Param2
,ack
) \
(
(
This
)
->
lpVtbl
->
Getline
(
This
,
Method
,
Param1
,
Param2
,
ack
)
)
#define INetmsg_Setline(This,Method,Param1,Param2) \
(
(
This
)
->
lpVtbl
->
Setline
(
This
,
Method
,
Param1
,
Param2
)
)
...
...
server/3rd/include/frame/asm/INet_i.c
浏览文件 @
f2f56304
...
...
@@ -6,7 +6,7 @@
/* File created by MIDL compiler version 8.00.0603 */
/* at
Tue Apr 26 17:24:45
2022
/* at
Wed Jun 08 09:11:21
2022
*/
/* Compiler settings for INet.idl:
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603
...
...
server/3rd/lib/asynsdk_mini-MD.lib
浏览文件 @
f2f56304
无法预览此类型文件
server/3rd/lib/asynsdk_mini-MDd.lib
浏览文件 @
f2f56304
无法预览此类型文件
server/3rd/lib/asynsdk_mini-MT.lib
浏览文件 @
f2f56304
无法预览此类型文件
server/3rd/lib/asynsdk_mini-MTd.lib
浏览文件 @
f2f56304
无法预览此类型文件
server/3rd/lib/x64/asynsdk_mini-MD.lib
浏览文件 @
f2f56304
无法预览此类型文件
server/3rd/lib/x64/asynsdk_mini-MDd.lib
浏览文件 @
f2f56304
无法预览此类型文件
server/3rd/lib/x64/asynsdk_mini-MT.lib
浏览文件 @
f2f56304
无法预览此类型文件
server/3rd/lib/x64/asynsdk_mini-MTd.lib
浏览文件 @
f2f56304
无法预览此类型文件
server/bin/ahttpserver-x64.exe
浏览文件 @
f2f56304
无法预览此类型文件
server/bin/ahttpserver.exe
浏览文件 @
f2f56304
无法预览此类型文件
server/src/Service.cpp
浏览文件 @
f2f56304
...
...
@@ -157,7 +157,7 @@ HRESULT CService::OnIomsgNotify( uint64_t lParam1, uint64_t lAction, IAsynIoOper
STRING
Method
;
STRING
Params
;
STRING
V
;
spReqmsg
->
Getline
(
&
Method
,
&
Params
,
&
V
);
spReqmsg
->
Getline
(
&
Method
,
&
Params
,
&
V
,
0
);
std
::
string
method
=
string_from_STRING
(
Method
);
std
::
string
params
=
string_from_STRING
(
Params
);
std
::
string
v
=
string_from_STRING
(
V
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录