소스 검색

修改接收字符串大小

callm 3 주 전
부모
커밋
89dcdab535
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      UAS_MES_HYSX/PublicMethod/HttpServer.cs

+ 1 - 1
UAS_MES_HYSX/PublicMethod/HttpServer.cs

@@ -268,7 +268,7 @@ namespace UAS_MES_NEW.PublicMethod
     {
         static DataHelper dh = new DataHelper();
         public static int SN_SERVICE_PORT = 21610;
-        public static int MAX_BUF_SIZE = 4096;
+        public static int MAX_BUF_SIZE = 8192;
         static string ComputeSha256Hash(string input)
         {
             using (SHA256 sha256 = SHA256.Create())