yiguolei commented on a change in pull request #8701:
URL: https://github.com/apache/incubator-doris/pull/8701#discussion_r836997799



##########
File path: 
fe/fe-core/src/main/java/org/apache/doris/journal/bdbje/BDBDebugger.java
##########
@@ -85,21 +85,14 @@ public void startDebugMode(String dorisHomeDir) {
 
     // Only start MySQL and HttpServer
     private void startService(String dorisHomeDir) throws IllegalArgException, 
IOException {
-        // HTTP server
-        if (!Config.enable_http_server_v2) {
-            HttpServer httpServer = new HttpServer(
-                    Config.http_port,
-                    Config.http_max_line_length,
-                    Config.http_max_header_size,
-                    Config.http_max_chunk_size
-            );
-            httpServer.setup();
-            httpServer.start();
-        } else {
-            org.apache.doris.httpv2.HttpServer httpServer2 = new 
org.apache.doris.httpv2.HttpServer();
-            httpServer2.setPort(Config.http_port);
-            httpServer2.start(dorisHomeDir);
-        }
+
+        HttpServer httpServer = new HttpServer();
+        httpServer.setPort(Config.http_port);
+        httpServer.setMaxHttpPostSize(Config.jetty_server_max_http_post_size);
+        httpServer.setAcceptors(Config.jetty_server_acceptors);

Review comment:
       Why set these parameters but not set them in the past?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to