Remy Maucherat a écrit :

[EMAIL PROTECTED] 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.

Dam't EBCDIC systems ;----)



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to