{"record":{"id":"51fd55a4119a7aa3","repo":"eclipse-vertx/vert.x","slug":"pipelininglimit-must-be-0","errorCode":null,"errorMessage":"pipeliningLimit must be > 0","messagePattern":"pipeliningLimit must be > 0","errorType":"validation","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"vertx-core/src/main/java/io/vertx/core/http/Http1ClientConfig.java","lineNumber":137,"sourceCode":"    return this;\n  }\n\n  /**\n   * @return the limit of pending requests a pipe-lined HTTP/1 connection can send\n   */\n  public int getPipeliningLimit() {\n    return pipeliningLimit;\n  }\n\n  /**\n   * Set the limit of pending requests a pipe-lined HTTP/1 connection can send.\n   *\n   * @param limit the limit of pending requests\n   * @return a reference to this, so the API can be used fluently\n   */\n  public Http1ClientConfig setPipeliningLimit(int limit) {\n    if (limit < 1) {\n      throw new IllegalArgumentException(\"pipeliningLimit must be > 0\");\n    }\n    this.pipeliningLimit = limit;\n    return this;\n  }\n\n  /**\n   * Set the maximum HTTP chunk size\n   * @param maxChunkSize the maximum chunk size\n   * @return a reference to this, so the API can be used fluently\n   */\n  public Http1ClientConfig setMaxChunkSize(int maxChunkSize) {\n    this.maxChunkSize = maxChunkSize;\n    return this;\n  }\n\n  /**\n   * Returns the maximum HTTP chunk size\n   * @return the maximum HTTP chunk size","sourceCodeStart":119,"sourceCodeEnd":155,"githubUrl":"https://github.com/eclipse-vertx/vert.x/blob/fb308bd8c3f12c79f4ae89bef67fadf6c80d036e/vertx-core/src/main/java/io/vertx/core/http/Http1ClientConfig.java#L119-L155","documentation":"Configuration validation in Http1ClientConfig.setPipeliningLimit: the maximum number of pipelined requests pending on a single HTTP/1 connection must be at least 1. Zero or negative limits would deadlock pipelining, so the setter rejects the value.","triggerScenarios":"Thrown at vertx-core/src/main/java/io/vertx/core/http/Http1ClientConfig.java:137 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass a positive limit (default 1, i.e. no pipelining)","Validate configuration values before applying them to the HTTP client"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fb308bd8c3f12c79f4ae89bef67fadf6c80d036e","analyzedAt":"2026-09-06T11:37:12.241Z","contentChangedAt":"2026-09-06T11:37:12.241Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}