You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2019/12/25 23:00:49 UTC

[GitHub] [httpcomponents-core] michael-o commented on a change in pull request #171: Consistency fixes

michael-o commented on a change in pull request #171: Consistency fixes
URL: https://github.com/apache/httpcomponents-core/pull/171#discussion_r361341264
 
 

 ##########
 File path: httpcore5/src/main/java/org/apache/hc/core5/http/impl/nio/LengthDelimitedDecoder.java
 ##########
 @@ -86,7 +86,7 @@ public int read(final ByteBuffer dst) throws IOException {
             setCompleted();
             if (this.len < this.contentLength) {
                 throw new ConnectionClosedException(
-                                "Premature end of Content-Length delimited message body (expected: %,d; received: %,d)",
+                                "Premature end of Content-Length delimited message body (expected: %d; received: %d)",
 
 Review comment:
   As discussed, it is not consistent across locales. Thus the messages are never stable.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org