Skip to content

Commit

Permalink
Checkstyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dalexandrov authored and romain-grecourt committed Oct 5, 2022
1 parent 98eab43 commit 6276556
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,12 +380,12 @@ default B tls(Supplier<WebServerTls> tlsConfig) {
* {@link io.helidon.common.http.Http.Status#BAD_REQUEST_400}
* is returned.
* <p>
* Default is {@code 8192}
* Default is {@code 16384}
*
* @param size maximal number of bytes of combined header values
* @return this builder
*/
@ConfiguredOption("8192")
@ConfiguredOption("16384")
B maxHeaderSize(int size);

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2021 Oracle and/or its affiliates.
* Copyright (c) 2020, 2022 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -76,7 +76,7 @@ void testCustom() {
.any((req, res) -> res.send("any"))
.build())
.config(config)
.maxHeaderSize(9100)
.maxHeaderSize(16400)
.maxInitialLineLength(5100)
.build()
.start()
Expand All @@ -87,11 +87,11 @@ void testCustom() {
.validateHeaders(false)
.build();

testHeader(client, 8000, true);
testHeader(client, 16000, true);
testInitialLine(client, 10, true);

testHeader(client, 8900, true);
testHeader(client, 8900, true);
testHeader(client, 17000, false);
testHeader(client, 17000, false);

// now test with big initial line
testInitialLine(client, 5000, true);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020 Oracle and/or its affiliates.
* Copyright (c) 2020, 2022 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 6276556

Please sign in to comment.