ds InputStream {
>
I think you should subclass FilterInputStream, because it will provide
you default implementations for the read(xxx) methods by calling the
read() method.
--
Thomas Butter <[EMAIL PROTECTED]> ICQ: 891617
"Unix IS user
a little bit faster because it doesn't implement marks.
Not sure if it is worth the extra code because read() isn't called very
often anyway and if read(byte []) is used anywhere then it should be
rewritten too (didn't do it here because I wasn't sure if it is ever used).
--
Tho
Remy Maucherat wrote:
[EMAIL PROTECTED]">Quoting Thomas Butter <[EMAIL PROTECTED]>:
For example if in line 257: requestLine.uri[readCount] = (char) buf[pos]; readCount++; pos++;buf[pos] is undefined the last fill called by the last read(
if you agree with my assumptions.
--
Thomas Butter <[EMAIL PROTECTED]> ICQ: 891617
"Unix IS user friendly, it is just selective about who his friends are."
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
nt
server (for example apache and tomcat) on the same machine.
The patch should solve this problem.
--
Thomas Butter <[EMAIL PROTECTED]> ICQ: 891617
"Unix IS user friendly, it is just selective about who his friends are."
--- HttpConnector.java.orig Wed Jan 10 23:17:51 2
ByName(address);
log(sm.getString("httpConnector.anAddress", address));
return (factory.createSocket(port, acceptCount,is));
}
The error check you used before should not be necessary because the
ServerSocket constructor should throw a IOException if you use a
non-lo