资源简介

效率偏低,不支持 SSL 环境 VS2013,,已配置为远程调试模式,自己改下选项即可本机调试。 经过测试 有 句柄泄露 解决方法: 引入线程池

资源截图

代码片段和文件信息

// LocalSever.cpp : 定义控制台应用程序的入口点。
//

#include “stdafx.h“
#include “ProxyServer.h“

#include   





int _tmain(int argc _TCHAR* argv[])
{
// 检查内存泄露
int tmpFlag = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG);
tmpFlag |= _CRTDBG_LEAK_CHECK_DF;
_CrtSetDbgFlag(tmpFlag);


// 初始化本地代理服务器
CProxyServer objB;
system(“pause“);
objB.m_bRunServer = false;
return 0;
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件         42  2001-07-17 17:23  LocalSever -  发布版\LocalSever\authorizationrequired.html

     文件       1189  2015-12-01 18:33  LocalSever -  发布版\LocalSever\Debug\LocalSever.Build.CppClean.log

     文件       2007  2015-12-07 17:26  LocalSever -  发布版\LocalSever\Debug\LocalSever.log

     文件        429  2015-12-07 17:26  LocalSever -  发布版\LocalSever\LocalSever.cpp

     文件       4664  2015-12-07 17:26  LocalSever -  发布版\LocalSever\LocalSever.vcxproj

     文件       1505  2015-12-07 17:26  LocalSever -  发布版\LocalSever\LocalSever.vcxproj.filters

     文件        975  2015-12-07 16:28  LocalSever -  发布版\LocalSever\LocalSever.vcxproj.user

     文件      22136  2015-12-07 17:19  LocalSever -  发布版\LocalSever\ProxyServer.cpp

     文件       1983  2015-12-04 12:45  LocalSever -  发布版\LocalSever\ProxyServer.h

     文件       1531  2015-12-01 10:45  LocalSever -  发布版\LocalSever\ReadMe.txt

     文件        216  2015-12-01 10:45  LocalSever -  发布版\LocalSever\stdafx.cpp

     文件        234  2015-12-01 10:45  LocalSever -  发布版\LocalSever\stdafx.h

     文件        236  2015-12-01 10:45  LocalSever -  发布版\LocalSever\targetver.h

     文件        976  2015-12-01 10:45  LocalSever -  发布版\LocalSever.sln

    ..A..H.     54272  2015-12-07 17:26  LocalSever -  发布版\LocalSever.v12.suo

     文件          0  2015-12-03 19:15  LocalSever -  发布版\wgdi32.pdb\E6E9906B59C84A73A095CB4879AAF3F82\wgdi32.pd_

     文件          0  2015-12-03 19:15  LocalSever -  发布版\wkernel32.pdb\FEB450C0EF3E4B9CB522152A179C47F12\wkernel32.pd_

     目录          0  2015-12-07 17:27  LocalSever -  发布版\LocalSever\Debug\LocalSever.tlog

     目录          0  2015-12-07 17:23  LocalSever -  发布版\ipch\localsever-a326ab04

     目录          0  2015-12-07 17:32  LocalSever -  发布版\ipch\localsever-a4087dfc

     目录          0  2015-12-07 17:23  LocalSever -  发布版\ipch\localsever-cfd23d0c

     目录          0  2015-12-07 17:32  LocalSever -  发布版\ipch\localsever-e9a44de5

     目录          0  2015-12-07 17:27  LocalSever -  发布版\LocalSever\Debug

     目录          0  2015-12-07 17:25  LocalSever -  发布版\wgdi32.pdb\E6E9906B59C84A73A095CB4879AAF3F82

     目录          0  2015-12-07 17:25  LocalSever -  发布版\wkernel32.pdb\FEB450C0EF3E4B9CB522152A179C47F12

     目录          0  2015-12-07 17:32  LocalSever -  发布版\Debug

     目录          0  2015-12-07 17:26  LocalSever -  发布版\ipch

     目录          0  2015-12-07 17:26  LocalSever -  发布版\LocalSever

     目录          0  2015-12-07 17:25  LocalSever -  发布版\wgdi32.pdb

     目录          0  2015-12-07 17:25  LocalSever -  发布版\wkernel32.pdb

............此处省略4个文件信息

评论

共有 条评论