You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2005/06/23 18:35:27 UTC
cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp AjpAprProcessor.java LocalStrings.properties
remm 2005/06/23 09:35:27
Modified: jk/java/org/apache/coyote/ajp AjpAprProcessor.java
LocalStrings.properties
Log:
- Fix a couple strings.
Revision Changes Path
1.8 +3 -3 jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpAprProcessor.java
Index: AjpAprProcessor.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpAprProcessor.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- AjpAprProcessor.java 23 Jun 2005 16:31:55 -0000 1.7
+++ AjpAprProcessor.java 23 Jun 2005 16:35:26 -0000 1.8
@@ -1185,7 +1185,7 @@
if (nRead > 0) {
inputBuffer.limit(inputBuffer.limit() + nRead);
} else {
- throw new IOException(sm.getString("iib.failedread"));
+ throw new IOException(sm.getString("ajpprotocol.failedread"));
}
}
@@ -1220,7 +1220,7 @@
if ((-nRead) == Status.ETIMEDOUT || (-nRead) == Status.TIMEUP) {
return false;
} else {
- throw new IOException(sm.getString("iib.failedread"));
+ throw new IOException(sm.getString("ajpprotocol.failedread"));
}
}
}
@@ -1356,7 +1356,7 @@
throws IOException {
if (outputBuffer.position() > 0) {
if (Socket.sendb(socket, outputBuffer, 0, outputBuffer.position()) < 0) {
- throw new IOException(sm.getString("iib.failedwrite"));
+ throw new IOException(sm.getString("ajpprotocol.failedwrite"));
}
outputBuffer.clear();
}
1.2 +3 -2 jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/LocalStrings.properties
Index: LocalStrings.properties
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/LocalStrings.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LocalStrings.properties 9 Jun 2005 16:14:51 -0000 1.1
+++ LocalStrings.properties 23 Jun 2005 16:35:27 -0000 1.2
@@ -20,4 +20,5 @@
ajpprotocol.endpoint.pauseerror=Error pausing endpoint
ajpprotocol.resume=Resuming Coyote AJP/1.3 on {0}
ajpprotocol.endpoint.resumeerror=Error resuming endpoint
-
+ajpprotocol.failedread=Socket read failed
+ajpprotocol.failedwrite=Socket write failed
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org