Re: cvs commit: jakarta-tomcat-4.1/catalina/src/share/org/apache/catalina/connector/http SocketInputStream.java

2001-01-12 Thread Thomas Butter
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

Re: possible problems in org.apache.catalina.connector.http.SocketInputStream

2001-01-11 Thread Thomas Butter
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

Re: possible problems in org.apache.catalina.connector.http.SocketInputStream

2001-01-10 Thread Thomas Butter
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(

possible problems in org.apache.catalina.connector.http.SocketInputStream

2001-01-10 Thread Thomas Butter
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

[PATCH] bind to ip

2001-01-10 Thread Thomas Butter
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

binding to a specific ip doesn't work as exspected

2001-01-02 Thread Thomas Butter
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