tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Constants.java
Date Fri, 03 Oct 2003 10:12:31 GMT
jfclere@apache.org wrote:

> jfclere     2003/10/03 03:05:57
> 
>   Modified:    http11/src/java/org/apache/coyote/http11 Constants.java
>   Log:
>   getBytes() uses platform's default charset... Bad on my EBCDIC machine!

>        /**
>   @@ -239,8 +256,28 @@
>        /**
>         * Ack string when pipelining HTTP requests.
>         */
>   -    public static final byte[] ACK_BYTES =
>   -        "HTTP/1.1 100 Continue\r\n\r\n".getBytes();
>   +    public static final byte[] ACK_BYTES = {
>   +        (byte) '1',
>   +        (byte) '.',
>   +        (byte) '1',

I think  "HTTP/" is missing.

Remy



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


Mime
View raw message