File tree Expand file tree Collapse file tree
client/src/main/java/org/apache/cloudstack Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ public void start() throws Exception {
188188 httpConfig .setResponseHeaderSize (8192 );
189189 httpConfig .setSendServerVersion (false );
190190 httpConfig .setSendDateHeader (false );
191- addForwordingCustomiser (httpConfig );
191+ addForwardingCustomiser (httpConfig );
192192
193193 // HTTP Connector
194194 createHttpConnector (httpConfig );
@@ -214,10 +214,10 @@ public void start() throws Exception {
214214 /**
215215 * Adds a ForwardedRequestCustomizer to the HTTP configuration to handle forwarded headers.
216216 * The header used for forwarding is determined by the ApiServer.listOfForwardHeaders property.
217- * Only non empty headers are considdered and only the first of the comma-separated list is used.
217+ * Only non empty headers are considered and only the first of the comma-separated list is used.
218218 * @param httpConfig the HTTP configuration to which the customizer will be added
219219 */
220- private static void addForwordingCustomiser (HttpConfiguration httpConfig ) {
220+ private static void addForwardingCustomiser (HttpConfiguration httpConfig ) {
221221 ForwardedRequestCustomizer customiser = new ForwardedRequestCustomizer ();
222222 String header = Arrays .stream (ApiServer .listOfForwardHeaders .value ().split ("," )).findFirst ().orElse (null );
223223 if (com .cloud .utils .StringUtils .isNotEmpty (header )) {
You can’t perform that action at this time.
0 commit comments