yiguolei commented on a change in pull request #8701:
URL: https://github.com/apache/incubator-doris/pull/8701#discussion_r836996320
##########
File path: fe/fe-core/src/main/java/org/apache/doris/PaloFe.java
##########
@@ -134,24 +134,13 @@ public static void start(String dorisHomeDir, String
pidDir, String[] args) {
feServer.start();
- 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.setMaxHttpPostSize(Config.jetty_server_max_http_post_size);
- httpServer2.setAcceptors(Config.jetty_server_acceptors);
- httpServer2.setSelectors(Config.jetty_server_selectors);
- httpServer2.setWorkers(Config.jetty_server_workers);
- httpServer2.start(dorisHomeDir);
- }
+ HttpServer httpServer2 = new HttpServer();
+ httpServer2.setPort(Config.http_port);
+
httpServer2.setMaxHttpPostSize(Config.jetty_server_max_http_post_size);
Review comment:
httpServer is ok
--
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]