Looks good.
Mike
On Thursday, February 13, 2003, at 06:36 PM, Oleg Kalnichevski wrote:
~8-\
I have not been smoking, have I?
Thanks, Mike. You are absolutely right
How about this?
Cheers
Oleg
On Thu, 2003-02-13 at 23:57, Michael Becke wrote:
Looks like a good start. Maybe we can agree on it in little pieces:)
I noticed the following and am not sure if it is correct:
+ public static String readLine(InputStream inputStream) throws
IOException {
+ LOG.trace("enter HttpConnection.readLine()");
+ byte[] rawdata = readRawLine(inputStream);
+ if ((rawdata.length >= 2) && (rawdata[0] == '\r') &&
(rawdata[1] == '\n')) {
+ return HttpConstants.getString(rawdata, 0, rawdata.length
- 2);
+ } else {
+ return HttpConstants.getString(rawdata);
+ }
+ }
It looks like you're stripping \r\n from the beginning of the line,
but
I was thinking you want to remove it from the end. Is this correct?
Mike
On Thursday, February 13, 2003, at 05:44 PM, Oleg Kalnichevski wrote:
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
<httpparser.patch>-----------------------------------------------------
----------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]