Use max line length of 8192 and max header count of 100 for incoming HTTP/1 messages by default
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/config/Http1Config.java b/httpcore5/src/main/java/org/apache/hc/core5/http/config/Http1Config.java
index 015162b..ffddb52 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/config/Http1Config.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/config/Http1Config.java
@@ -144,8 +144,8 @@ public static Http1Config.Builder copy(final Http1Config config) {
     private static final int INIT_BUF_SIZE = 8192;
     private static final Timeout INIT_WAIT_FOR_CONTINUE = Timeout.ofSeconds(3);
     private static final int INIT_BUF_CHUNK = -1;
-    private static final int INIT_MAX_HEADER_COUNT = -1;
-    private static final int INIT_MAX_LINE_LENGTH = -1;
+    private static final int INIT_MAX_HEADER_COUNT = 100;
+    private static final int INIT_MAX_LINE_LENGTH = 8192;
     private static final int INIT_MAX_EMPTY_LINE_COUNT = 10;
 
     public static class Builder {