Skip to content

Commit 6bf4473

Browse files
author
Daan Hoogland
committed
spelloos
1 parent 3362d5a commit 6bf4473

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

client/src/main/java/org/apache/cloudstack/ServerDaemon.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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)) {

0 commit comments

Comments
 (0)