• R/O
  • HTTP
  • SSH
  • HTTPS

PeerCastIM: Commit


Commit MetaInfo

Revisionfdeb54807c210bd5b53b486d1675aba4567e5f2b (tree)
Time2011-01-29 23:45:42
Authoreru <eru01@user...>
Commitereru

Log Message

WebGUIのレスポンスが悪かったのを修正

Change Summary

Incremental Difference

--- a/PeerCast.root/PeerCast/core/common/version2.h
+++ b/PeerCast.root/PeerCast/core/common/version2.h
@@ -44,9 +44,9 @@ extern int version_ex; // VERSION_EX
4444 #if 1 /* for VP extend version */
4545 //#define VERSION_EX 1
4646 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
47-static const int PCP_CLIENT_VERSION_EX_NUMBER = 42;
48-static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0042)";
49-static const char *PCX_VERSTRING_EX = "v0.1218(IM0042)";
47+static const int PCP_CLIENT_VERSION_EX_NUMBER = 43;
48+static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0043)";
49+static const char *PCX_VERSTRING_EX = "v0.1218(IM0043)";
5050
5151 static const char *PCP_CLIENT_DIST_URL = "http://pecaim.net/";
5252 static const char *PCP_CLIENT_VERSION_URL = "version.pecaim.net";
--- a/PeerCast.root/PeerCast/core/win32/wsocket.cpp
+++ b/PeerCast.root/PeerCast/core/win32/wsocket.cpp
@@ -23,7 +23,7 @@
2323
2424
2525 //#include "stdafx.h"
26-//#include "winsock2.h"
26+#include "winsock2.h"
2727 #include <windows.h>
2828 #include <stdio.h>
2929 #include "wsocket.h"
@@ -640,7 +640,7 @@ void WSAClientSocket::close()
640640 sockLock.on();
641641 if (sockNum)
642642 {
643-// shutdown(sockNum,SD_SEND);
643+ shutdown(sockNum,SD_SEND); // fix from rev5
644644
645645 setReadTimeout(2000);
646646 unsigned int stime = sys->getTime();
--- a/PeerCast.root/PeerCast/ui/win32/simple/Simple.vcproj
+++ b/PeerCast.root/PeerCast/ui/win32/simple/Simple.vcproj
@@ -400,7 +400,7 @@
400400 StripPrivateSymbols="PeerCast-dist.pdb"
401401 GenerateMapFile="true"
402402 SubSystem="2"
403- LinkTimeCodeGeneration="2"
403+ LinkTimeCodeGeneration="1"
404404 RandomizedBaseAddress="1"
405405 DataExecutionPrevention="0"
406406 TargetMachine="1"
--- a/c:/Git/PeerCast.root/PeerCast/core/common/version2.h
+++ b/c:/Git/PeerCast.root/PeerCast/core/common/version2.h
@@ -44,9 +44,9 @@ extern int version_ex; // VERSION_EX
4444 #if 1 /* for VP extend version */
4545 //#define VERSION_EX 1
4646 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
47-static const int PCP_CLIENT_VERSION_EX_NUMBER = 42;
48-static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0042)";
49-static const char *PCX_VERSTRING_EX = "v0.1218(IM0042)";
47+static const int PCP_CLIENT_VERSION_EX_NUMBER = 43;
48+static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0043)";
49+static const char *PCX_VERSTRING_EX = "v0.1218(IM0043)";
5050
5151 static const char *PCP_CLIENT_DIST_URL = "http://pecaim.net/";
5252 static const char *PCP_CLIENT_VERSION_URL = "version.pecaim.net";
--- a/c:/Git/PeerCast.root/PeerCast/core/win32/wsocket.cpp
+++ b/c:/Git/PeerCast.root/PeerCast/core/win32/wsocket.cpp
@@ -23,7 +23,7 @@
2323
2424
2525 //#include "stdafx.h"
26-//#include "winsock2.h"
26+#include "winsock2.h"
2727 #include <windows.h>
2828 #include <stdio.h>
2929 #include "wsocket.h"
@@ -640,7 +640,7 @@ void WSAClientSocket::close()
640640 sockLock.on();
641641 if (sockNum)
642642 {
643-// shutdown(sockNum,SD_SEND);
643+ shutdown(sockNum,SD_SEND); // fix from rev5
644644
645645 setReadTimeout(2000);
646646 unsigned int stime = sys->getTime();
--- a/c:/Git/PeerCast.root/PeerCast/ui/win32/simple/Simple.vcproj
+++ b/c:/Git/PeerCast.root/PeerCast/ui/win32/simple/Simple.vcproj
@@ -400,7 +400,7 @@
400400 StripPrivateSymbols="PeerCast-dist.pdb"
401401 GenerateMapFile="true"
402402 SubSystem="2"
403- LinkTimeCodeGeneration="2"
403+ LinkTimeCodeGeneration="1"
404404 RandomizedBaseAddress="1"
405405 DataExecutionPrevention="0"
406406 TargetMachine="1"
Show on old repository browser