File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2134,12 +2134,12 @@ server.requireClientCertificates = false
2134
2134
# RESTART REQUIRED
2135
2135
server.shutdownPort = 8081
2136
2136
2137
- # Timeout (in milliseconds) for http and https requests
2137
+ # Http idle Timeout (in milliseconds) for http and https requests
2138
2138
# Increase this value if you get java.util.concurrent.TimeoutException errors
2139
2139
#
2140
2140
# SINCE 1.9.0
2141
2141
# RESTART REQUIRED
2142
- server.httpTimeout = 30000
2142
+ server.httpIdleTimeout = 30000
2143
2143
2144
2144
#
2145
2145
# Gitblit Filestore Settings
Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ public void log(String message) {
293
293
294
294
ServerConnector connector = new ServerConnector (server , factory );
295
295
connector .setSoLingerTime (-1 );
296
- connector .setIdleTimeout (settings .getLong (Keys .server .httpTimeout , 30000L ));
296
+ connector .setIdleTimeout (settings .getLong (Keys .server .httpIdleTimeout , 30000L ));
297
297
connector .setPort (params .securePort );
298
298
String bindInterface = settings .getString (Keys .server .httpsBindInterface , null );
299
299
if (!StringUtils .isEmpty (bindInterface )) {
@@ -330,7 +330,7 @@ public void log(String message) {
330
330
331
331
ServerConnector connector = new ServerConnector (server , new HttpConnectionFactory (httpConfig ));
332
332
connector .setSoLingerTime (-1 );
333
- connector .setIdleTimeout (settings .getLong (Keys .server .httpTimeout , 30000L ));
333
+ connector .setIdleTimeout (settings .getLong (Keys .server .httpIdleTimeout , 30000L ));
334
334
connector .setPort (params .port );
335
335
String bindInterface = settings .getString (Keys .server .httpBindInterface , null );
336
336
if (!StringUtils .isEmpty (bindInterface )) {
You can’t perform that action at this time.
0 commit comments